Scatter Chart
JSX
<ScatterPlot
PointComponent={function noRefCheck() {}}
axis={{
x: {
height: 20,
scale: 'linear',
width: 400
},
y: {
height: 400,
scale: 'linear',
width: 20
}
}}
data={[
{
data: [
{
x: 0,
y: 1,
z: 5
},
{
x: 2,
y: 1,
z: 5
},
{
x: 3,
y: 3,
z: 10
},
{
x: 4,
y: 4,
z: 5
},
{
x: 5,
y: 1,
z: 15
},
{
x: 6,
y: 6,
z: 5
},
{
x: 7,
y: 7,
z: 15
}
],
label: 'Scatter data',
point: {
fill: '#000',
radius: 4,
show: true,
stroke: ''
}
}
]}
height={400}
id="scatter-demo"
width={400}
/>