Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Simple Line Chart

Public visualization

Fork of Simple Line Chart

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed