Scatter chart

Plot numeric X/Y observations. Repeated coordinates stay as separate observations; use the examples to inspect outliers and nonlinear relationships.

Input: TextResult: HTML with a sandboxed preview

Text input

Examples

A fixed-rate distance relationship

Input

0 0
1 3
2 6
3 9

Expected chart

001.54.539X: 0, Y: 0X: 1, Y: 3X: 2, Y: 6X: 3, Y: 9XY
0 · 0
1 · 3
2 · 6
3 · 9
Record delimiter
Line feed
Field delimiter
Space
Use column headers as labels
Off
X label
X
Y label
Y
Colour
#2563eb
Point radius
4
Use colour from third column
Off
Chart mode
Data plot
One request is much slower than the rest

Input

1 12
2 14
3 13
4 95
5 15

Expected chart

112353.5595X: 1, Y: 12X: 2, Y: 14X: 3, Y: 13X: 4, Y: 95X: 5, Y: 15XY
1 · 12
2 · 14
3 · 13
4 · 95
5 · 15
Record delimiter
Line feed
Field delimiter
Space
Use column headers as labels
Off
X label
X
Y label
Y
Colour
#2563eb
Point radius
4
Use colour from third column
Off
Chart mode
Data plot
Stopping distance grows quadratically

Input

0 0
1 1
2 4
3 9
4 16

Expected chart

0028416X: 0, Y: 0X: 1, Y: 1X: 2, Y: 4X: 3, Y: 9X: 4, Y: 16XY
0 · 0
1 · 1
2 · 4
3 · 9
4 · 16
Record delimiter
Line feed
Field delimiter
Space
Use column headers as labels
Off
X label
X
Y label
Y
Colour
#2563eb
Point radius
4
Use colour from third column
Off
Chart mode
Data plot
Repeated coordinates are still separate observations

Input

1 2
1 2
2 3
2 3
2 3
3 4

Expected chart

122334X: 1, Y: 2X: 1, Y: 2X: 2, Y: 3X: 2, Y: 3X: 2, Y: 3X: 3, Y: 4XY
1 · 2
1 · 2
2 · 3
2 · 3
2 · 3
3 · 4
Record delimiter
Line feed
Field delimiter
Space
Use column headers as labels
Off
X label
X
Y label
Y
Colour
#2563eb
Point radius
4
Use colour from third column
Off
Chart mode
Data plot
Eight Iris setosa flowers

First eight records; sepal length versus sepal width in centimetres.

Input

5.1 3.5
4.9 3.0
4.7 3.2
4.6 3.1
5.0 3.6
5.4 3.9
4.6 3.4
5.0 3.4

Expected chart

4.6353.455.43.9X: 5.1, Y: 3.5X: 4.9, Y: 3X: 4.7, Y: 3.2X: 4.6, Y: 3.1X: 5, Y: 3.6X: 5.4, Y: 3.9X: 4.6, Y: 3.4X: 5, Y: 3.4Sepal length (cm)Sepal width (cm)
5.1 · 3.5
4.9 · 3
4.7 · 3.2
4.6 · 3.1
5 · 3.6
5.4 · 3.9
4.6 · 3.4
5 · 3.4
Record delimiter
Line feed
Field delimiter
Space
Use column headers as labels
Off
X label
Sepal length (cm)
Y label
Sepal width (cm)
Colour
#2563eb
Point radius
4
Use colour from third column
Off
Chart mode
Data plot
Scatter chart

Reproduce this published regression case and compare the exact result. Scatter chart.

Input

100 100
200 200
300 300
400 400
500 500

Expected checks

Matches /^<svg width/
Record delimiter
Line feed
Field delimiter
Space
Use column headers as labels
Off
X label
time
Y label
stress
Colour
black
Point radius
5
Use colour from third column
Off
Chart mode
Original

Format reference: Scatter chart background and specification

Related tools

Browse multimedia tools