Skip to main content
100%

Fork of Simple Line Chart

✓ Published0🌍 Public
OOswald Zion O.
Last edited May 6, 2024
Created on May 6, 2024
Forked from Simple Line Chart

This fork visualizes the Keeling Curve, plotting atmospheric CO2 concentration against time from the @curran/keeling-curve-data package. The chart uses D3 scales (scaleTime, scaleLinear) to map the date and CO2 values, with axes, labels, and a filled inner rectangle framing the data. A single line path, generated by d3.line, traces the points, while the viz() function handles all rendering with configurable margins and opacity settings. The example adapts the original chart to support custom data by specifying x and y value accessors.

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