Skip to main content
100%

Fork of Simple Line Chart

✓ Published0🌍 Public
MM Hema
Last edited Mar 27, 2024
Created on Mar 27, 2024
Forked from Simple Line Chart

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 description

A simple line chart with D3 showing the Keeling Curve Data.

Challenge

  • Fork this viz
  • Modify it to show your data
MIT Licensed

Similar vizzes