Shows the relationship between two measures. Marks sit on a 1px grid in ink or one spot color.
Preview
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 annotates the legend and accessible data table, not a separate visual mark style.
xDomain and yDomain pin valid numeric axes; invalid or equal domains fall back to the data extent.
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/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.