Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Viewing a saved revision (read-only)

943f55eff2524e798c32958be3b1a2a3

Fork of HTML Starter

0 stars0🌍 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.