Shows the relationship between two measures. Marks sit on a 1px grid in ink or one spot color.
Preview
Density
Module
Density
Label
Module
Density
Alkmaar
12
18
Haarlem
28
16
Rotterdam
48
22
Groningen
68
26
Amsterdam
80
44
In action
Mark
Press check
Module against density. Marks, not bubbles. One ink on the field.
Density
Module
PressProof
Density
Label
Module
Density
Group
Alkmaar
12
18
Press
Delft
20
28
Press
Haarlem
28
16
Press
Utrecht
36
34
Press
Rotterdam
48
22
Proof
Eindhoven
56
40
Proof
Groningen
68
26
Proof
Amsterdam
80
44
Proof
When to use
Use it for
Two numeric variables per point; group on a point to split series.
xDomain and yDomain to pin the axes.
Not for
Ordered categories; use BarChart.
Thousands of points; aggregate first.
Install
Three ways in. They share one source, so the pixels match whichever you pick.
1. Import the package
npm install @noorddev/vlak-react
// once, next to your app's root
import "@noorddev/vlak-react/css";
import { ScatterChart } from "@noorddev/vlak-react";
Precompiled React and one stylesheet. No compiler to configure. Per-component imports work too: @noorddev/vlak-react/components/scatter-chart.
2. Vendor the source
npx @noorddev/vlak-cli add scatter-chart
The StyleX leaf lands in components/vlak/ with its dependencies, for your own compiler to own. See StyleX.