Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Zoomable Bar char

Public visualization

Viewing a saved revision (read-only)

c03548d4b97b49b2bc1c328bff05b34e

Zoomable Bar char

0 stars0🌍 Public
AAnna Xu
Last edited Aug 3, 2022
Created on Aug 3, 2022
Forked from HTML Starter

This visualization displays the long-term trend of global CO₂ concentration in parts per million, plotted as a zoomable bar chart that highlights historical fluctuations from over 800,000 years ago to the near present. The chart uses the D3 library (v6) to load CSV data, parse it with `d3.csvParse`, and filter for the World entity before mapping the year and concentration values. Bars are rendered in an SVG via `d3.create`, with zooming enabled to allow users to inspect dense early periods or recent dramatic increases. The data comes from the provided `co2-concentration-long-term.csv` file, processed entirely client-side.

AI-generated description

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

See also React Starter.