Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
NNandini Maddula
Last edited Mar 21, 2024
Created on Mar 21, 2024
Forked from HTML Starter

This horizontal bar chart visualizes the number of births across ten U.S. states, using a viridis color scale to encode magnitude. The chart displays the data as animated bars that grow from zero to their final width, with a color gradient legend beneath. Built with D3 v6, the visualization uses `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `interpolateViridis` for coloring. Hovering over a bar triggers a tooltip showing the state name and exact birth count. The underlying data comes from a CSV file containing state names and their corresponding birth statistics.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes