Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Fork of Fork of Final Project

Public visualization

Viewing a saved revision (read-only)

a4797ceb449a42a8bca7010b237b796b

Fork of Fork of Fork of Fork of Fork of Final Project

0 stars1🌍 Public
YYi Yang
Last edited Dec 12, 2021
Created on Dec 12, 2021

This visualization displays SO2 emissions across 31 U.S. states from 2012 to 2021, using a horizontal bar chart that animates through each year when a button is clicked. The chart encodes emission values with bar lengths, mapping data through d3.scaleLinear for the x-axis and d3.scaleBand for the categorical state labels. Rendered as an SVG with D3 v6, the visualization uses a radio button to trigger the animation, presenting yearly snapshots of pollution data in a compact, color-coded format.

AI-generated description

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

See also React Starter.