A variation around the SwarmPlot component. Well suited for large data sets as it does not impact DOM tree depth, however you'll lose the isomorphic ability and transitions.
You can optionally enable a voronoi mesh to capture user's
interactions, using the useMesh property.
Even if the canvas implementation is faster, please note that if you have a lot of nodes calculating the underlying simulation will involve a lot of computing and will affect performance.
The responsive alternative of this component is
ResponsiveSwarmPlotCanvas.
Chart data.
'id'Property used to retrieve the node's unique identifier.
'value'Property used to retrieve the node's value.
Optional formatter for values.
Available groups.
'group'Propety used to group nodes, must return a group which is available in the groups property.
6How to compute node size, static or dynamic.
2Spacing between nodes.
Chart width for non-responsive component.
Chart default width for responsive component.
Chart height for non-responsive component.
Chart default height for responsive component.
Debounce width/height updates for responsive component.
A callback for when responsive component is resized.
'Depends on device'Adjust pixel ratio, useful for HiDPI screens.
Chart margin.
Ref to the chart's container. Used on this page to generate/download the chart's image via html-to-image.