Skip to main content
100%

A6 Sequential Color Scale

✓ Published3🌍 Public
Nnathanjmuljadi@gmail.com
Last edited Mar 1, 2025
Created on Mar 1, 2025
Forked from A5 Line Chart D3

This visualization shows police shooting counts by race and gender as grouped bar charts, with a sequential red color scale encoding the magnitude of each count. It uses D3 v7 with SVG rendering, loading data from a CSV file. The code aggregates records by race and gender, then employs `d3.scaleBand` for categorical axes, `d3.scaleLinear`, and `d3.scaleSequential` with `d3.interpolateReds` for the color fill. It also includes gender labels and axes styled with CSS.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

MIT Licensed

Similar vizzes