🌍 Public
Viewing a saved revision (read-only)
98b229ffe87740deba903e5a91f4b83c
Responsive Line Chart
This responsive line chart displays atmospheric CO2 concentrations over time using the Keeling Curve dataset, rendering a black line on a gray inner rectangle. It updates smoothly when the container resizes, with the x-scale for years and y-scale for CO2 (ppm) recalculated via the `observeResize` hook. The visualization uses d3’s `scaleTime`, `scaleLinear`, `line`, and `axes` from d3, along with the library `@curran/responsive-axes` for automatic axis adjustment.
AI-generated descriptionA simple line chart with D3 showing the Keeling Curve Data.
Challenge
- Fork this viz
- Modify it to show your data