Skip to content

Scatterplot

This scatterplot renders 1 million points.

<Pluot
width={500}
height={500}
plotId={"scatterplot-example"}
plotType={"LayeredPlot"}
storeUrl={"https://pub-adb3658c8ed642caa534fdc612cd1c0c.r2.dev/gaussian_quantiles.zarr"}
plotParams={{
layers: [
{
layer_type: "ZarrPointLayer",
layer_params: {
layer_id: "layer_1",
data_unit_mode: "Data",
point_radius_unit_mode: "Pixels",
point_shape_mode: "Square",
point_radius: 5.0,
bounds: null,
x_key: "/n_1000000/x_coords",
y_key: "/n_1000000/y_coords",
color_key: "/n_1000000/class_labels",
}
}
]
}}
mode={"2d"}
marginLeft={50}
marginTop={0}
marginRight={0}
marginBottom={50}
/>