Fork of Simple Line Chart
✓ Published0🌍 Public
This example shows the rise in atmospheric CO2 concentrations over time using the Keeling Curve dataset. A gray background rectangle highlights the plotting area, with a single black line tracing the data points and semi-transparent circles marking individual measurements. The visualization is built with D3's `scaleTime`, `scaleLinear`, `axisLeft`, and `line` functions, while axis labels are added via the `@curran/axis-labels` library. The code reads dimensions from the container and uses D3's declarative selection API to create the SVG elements.
AI-generated descriptionA simple line chart with D3 showing the Keeling Curve Data.
Challenge
- Fork this viz
- Modify it to show your data
MIT Licensed