Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Heatmap with D3

Public visualization

Viewing a saved revision (read-only)

0b0429f9141b497695ffc92a938bf6e6

Heatmap with D3

1 star3🌍 Public
OOlha
Last edited Apr 7, 2022
Created on Feb 22, 2022

This heatmap visualizes abortion rates per 1,000 women aged 15–17 across U.S. states over multiple years, using a linear color scale from light gray to red to indicate rate intensity. The D3 v7 code loads data from a CSV and renders an SVG with `d3.scaleBand` for the x- and y-axes, `d3.axisBottom` and `d3.axisLeft` for ticks, and `d3.scaleLinear` for color encoding. It appends rectangles for each state-year pair, plus a legend and axis labels.

AI-generated description