A7 Small Multiples Chart D3
✓ Published0🌍 Public
This example presents a 2x2 grid of small multiple line charts, visualizing police shooting counts per year across four racial categories. It uses a D3 v7 ordinal color scale and time scale, with data loaded from a CSV file. Labels and legends are added with d3-legend. The code uses `d3.csv`, `d3.group`, `d3.rollup`, `d3.scaleTime`, and `d3.line` to construct shared axes, create the line generator, and arrange chart groups via manual translation transforms.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.
MIT Licensed