ScatterPlotCanvas

@nivo/scatterplotcanvas

A variation around the ScatterPlot component. Well suited for large data sets as it does not impact DOM tree depth, however you'll lose the isomorphic ability and transitions.

The responsive alternative of this component is ResponsiveScatterPlotCanvas, it also offers another implementation, see ScatterPlot.

roll the dice
Actions Logs
Start interacting with the chart to log actions
Base
Object[]required

Chart data.

objectoptional

X scale configuration.

string | Functionoptional
open editor

Optional formatter for x values.

objectoptional

Y scale configuration.

string | Functionoptional
open editor

Optional formatter for y values.

string | (datum) => stringoptionaldefault:'(d) => `${d.serieId}.${d.index}`'

ID accessor for the node.

number | object | Functionoptionaldefault:9
px

How to compute node size, static or dynamic.

numberrequired

Chart width.

numberrequired

Chart height.

numberoptionaldefault:'Depends on device'

Adjust pixel ratio, useful for HiDPI screens.

supportsvgcanvas
objectoptional
px
px
px
px

Chart margin.

Style
Customization
Grid & Axes
Interactivity
Legends
Annotations
Motion