Bar Chart with a Sequential Color Scale with D3
✓ Published1🌍 Public
This bar chart displays abortion rates for 15–17-year-olds across U.S. states in 2010, using a sequential color scale from light blue to dark blue to encode rate values. Each state’s bar is colored via `d3.scaleSequential` with `d3.extent` domain, and an interactive tooltip appears on mouseover. The visualization uses D3 v7 to render SVG elements, including axes via `d3.axisBottom` and `d3.axisLeft`, plus a color legend from the `d3-legend` library. Data is loaded from a CSV file using `d3.csv`.
AI-generated descriptionAssignment 6 part C
Bar Chart with a Sequential Color Scale with D3
MIT Licensed