Skip to main content
100%

B — Mauna Loa CO₂ (Loader)

✓ Published0🌍 Public
Aabhyudaithakur7@gmail.com
Last edited Sep 16, 2025
Created on Sep 16, 2025
Forked from Loading Data

This example loads and displays monthly average atmospheric CO₂ measurements from the NOAA Global Monitoring Laboratory at Mauna Loa. It strips comment lines from the CSV, parses the data, and shows a proof-of-life summary with the first six rows in a styled HTML container, including a row count. The visualization uses `d3.csvParse` to handle the data and `d3.select` to target the container element, with the D3 v7 library loaded via a CDN.

AI-generated description

Dataset B — Mauna Loa CO₂ Monthly (NOAA GML)

Source: NOAA Global Monitoring Laboratory — Mauna Loa monthly mean CO₂
What it is: Monthly average atmospheric CO₂ at Mauna Loa (1958–present) with columns for average, interpolated, trend, and number of days.

Columns & attribute types (VAD):

  • year — time (ordered)
  • month (1–12) — ordered (cyclic)
  • decimal_date — quantitative (continuous)
  • average (ppm) — quantitative
  • interpolated (ppm) — quantitative
  • trend (ppm) — quantitative
  • days — quantitative (count)

Notes: The original CSV includes comment lines starting with #. The code strips those before parsing.

MIT Licensed

Similar vizzes