Skip to main content
100%

Fork of Bar Chart - ICE 6

✓ Published0🌍 Public
NNandini Maddula
Last edited Mar 21, 2024
Created on Mar 21, 2024
Forked from Bar Chart - ICE 6

This bar chart visualizes birth counts for ten U.S. states. The bars are rendered as SVG rectangles, colored with a viridis color scale based on the birth value, and animated to grow to their final width over one second. A linear gradient, defined in the SVG defs, covers the bars with a pink-to-black fill. The chart uses D3 v6 modules like `scaleLinear`, `scaleBand`, `axisLeft`, `axisBottom`, and `interpolateViridis`. Data is loaded from `data.csv` asynchronously. Hovering over a bar displays a tooltip with the state name and birth count.

AI-generated description
MIT Licensed

Similar vizzes