Earth's air has more CO₂ than at any time in 800,000 years.
Since 1958, scientists on top of Mauna Loa in Hawaii have measured carbon dioxide (CO₂) in the air every month. Press play and watch it climb. Then zoom out to air bubbles trapped in Antarctic ice to see how unusual today really is.
Unit driving questionHow do natural factors contribute to changes in Earth's temperature? What are 99.9% of climate scientists seeing in historical climate data that makes them so sure humans are the cause of climate change today, and why does it matter?
Code
u4hViz = {// NOAA GML Mauna Loa monthly mean CO2 (ppm), March 1958 – September 2026, one value per month.const mlo = U4H_MLO;// Antarctic ice-core composite CO2 (Bereiter et al. 2015, NOAA NCEI), averaged into 1,000-year bins:// flat pairs [thousands of years before 1950, ppm], oldest first. Industrial-era samples (< 200 yr BP) left out.const iceFlat = U4H_ICE;const monthNames = ["January","February","March","April","May","June","July","August","September","October","November","December"];const modern = mlo.map((v, i) => {const m =2+ i;// index 0 = March 1958const year =1958+Math.floor(m /12), month = m %12;return {t: year + (month +0.5) /12, v,label:`${monthNames[month]}${year}`}; });// Yearly means of full years, for the 800,000-year viewconst byYear = d3.rollups(modern, a => ({n: a.length,v: d3.mean(a, d => d.v)}), d =>Math.floor(d.t));const yearly = byYear.filter(([, o]) => o.n===12).map(([y, o]) => ({y,v: o.v}));const ice = [];for (let i =0; i < iceFlat.length; i +=2) ice.push({ago: iceFlat[i] *1000+76,v: iceFlat[i +1],kind:"ice"});const NOW =2026;const deep = ice.concat(yearly.map(d => ({ago: NOW - d.y,v: d.v,kind:"mlo",y: d.y})));const iceMax = d3.max(ice, d => d.v);const W =Math.round(Math.max(300,Math.min(720, width -28))), H = W <500?270:330;const small = W <500;const M = {top:28,right:14,bottom:34,left:42};const reduceMotion =window.matchMedia("(prefers-reduced-motion: reduce)").matches;constroot=html`<div class="u4h-viz"></div>`;const tabs =html`<div class="u4h-tabs" role="group" aria-label="Choose a time span"> <button class="u4h-tab" type="button" aria-pressed="true" data-mode="modern">Since 1958</button> <button class="u4h-tab" type="button" aria-pressed="false" data-mode="deep">🔭 Last 800,000 years</button></div>`;const read =html`<div class="u4h-read" aria-live="polite"><span class="u4h-ppm"></span><span class="u4h-when"></span></div>`;const svg = d3.create("svg").attr("viewBox",`0 0 ${W}${H}`).attr("role","img");const controls =html`<div class="u4h-controls"> <button class="u4h-play" type="button" aria-label="Play">▶</button> <input class="u4h-range" type="range" min="0" step="1" aria-label="Move through time"></div>`;const note =html`<p class="u4h-note"></p>`;root.append(tabs, read, svg.node(), controls, note);const playBtn = controls.querySelector(".u4h-play");const range = controls.querySelector(".u4h-range");const ppmEl = read.querySelector(".u4h-ppm"), whenEl = read.querySelector(".u4h-when");const gBand = svg.append("g"), gGrid = svg.append("g"), gX = svg.append("g").attr("transform",`translate(0,${H - M.bottom})`);const gY = svg.append("g").attr("transform",`translate(${M.left},0)`);const yLabel = svg.append("text").attr("x",4).attr("y",14).attr("fill","#94a3b8").attr("font-size",12).text("CO₂ (ppm)");const ghost = svg.append("path").attr("fill","none").attr("stroke","rgba(148,163,184,0.25)").attr("stroke-width",1.2);const lineIce = svg.append("path").attr("fill","none").attr("stroke","#7dd3fc").attr("stroke-width",1.8).attr("stroke-linejoin","round");const lineMain = svg.append("path").attr("fill","none").attr("stroke-width",2).attr("stroke-linejoin","round");const gNotes = svg.append("g");const dot = svg.append("circle").attr("r",6).attr("fill","#fde68a").attr("stroke","#0b2530").attr("stroke-width",2);const grad = svg.append("defs").append("linearGradient").attr("id","u4h-grad").attr("x1",0).attr("x2",1).attr("y1",0).attr("y2",0); grad.append("stop").attr("offset","0%").attr("stop-color","#fbbf24"); grad.append("stop").attr("offset","100%").attr("stop-color","#ef4444");const axisStyle = g => { g.selectAll("text").attr("fill","#cbd5e1").attr("font-size",13); g.selectAll("line,path").attr("stroke","rgba(203,213,225,0.45)"); };let mode ="modern", data = modern, idx = modern.length-1, x, y;functionsetup() { data = mode ==="modern"? modern : deep; range.max= data.length-1; gBand.selectAll("*").remove(); gNotes.selectAll("*").remove();if (mode ==="modern") { x = d3.scaleLinear([1958, NOW +1], [M.left, W - M.right]); y = d3.scaleLinear([305,440], [H - M.bottom, M.top]); gX.call(d3.axisBottom(x).ticks(small ?4:7).tickFormat(d3.format("d"))).call(axisStyle); lineMain.attr("stroke","url(#u4h-grad)"); lineIce.attr("d",null); ghost.attr("d", d3.line(d =>x(d.t), d =>y(d.v))(modern)); svg.attr("aria-label","Line graph of carbon dioxide measured at Mauna Loa, Hawaii, every month from 1958 to 2026. It rises from about 315 ppm to about 430 ppm, with a small up-and-down wiggle every year."); } else { x = d3.scaleLinear([806000,0], [M.left, W - M.right]); y = d3.scaleLinear([160,440], [H - M.bottom, M.top]); gX.call(d3.axisBottom(x).tickValues(small ? [800000,400000,0] : [800000,600000,400000,200000,0]).tickFormat(d => d ===0?"today":`${d /1000}k yrs ago`)).call(axisStyle).call(g => g.selectAll(".tick:last-of-type text").attr("text-anchor","end")); gBand.append("rect").attr("x", M.left).attr("width", W - M.left- M.right).attr("y",y(300)).attr("height",y(170) -y(300)).attr("fill","rgba(125,211,252,0.08)"); gBand.append("line").attr("x1", M.left).attr("x2", W - M.right).attr("y1",y(300)).attr("y2",y(300)).attr("stroke","#7dd3fc").attr("stroke-dasharray","5 4").attr("stroke-opacity",0.7); gNotes.append("text").attr("x", M.left+8).attr("y",y(300) -7).attr("fill","#7dd3fc").attr("font-size",13).text("Highest natural level: about 300 ppm"); lineMain.attr("stroke","#ef4444"); ghost.attr("d", d3.line(d =>x(d.ago), d =>y(d.v))(deep)); svg.attr("aria-label","Line graph of carbon dioxide over the last 800,000 years from Antarctic ice cores, then Mauna Loa. It swings between about 175 and 300 ppm in ice-age cycles, then shoots straight up to about 427 ppm in modern times."); } gGrid.selectAll("*").remove(); gGrid.selectAll("line").data(y.ticks(5)).join("line").attr("x1", M.left).attr("x2", W - M.right).attr("y1", d =>y(d)).attr("y2", d =>y(d)).attr("stroke","rgba(203,213,225,0.12)"); gY.call(d3.axisLeft(y).ticks(5).tickSize(0).tickPadding(6)).call(axisStyle).call(g => g.select(".domain").remove()); }functionshow(i) { idx =Math.max(0,Math.min(data.length-1, i)); range.value= idx;const d = data[idx];if (mode ==="modern") { lineMain.attr("d", d3.line(e =>x(e.t), e =>y(e.v))(modern.slice(0, idx +1))); dot.attr("cx",x(d.t)).attr("cy",y(d.v)); ppmEl.innerHTML=`${d.v.toFixed(1)}<small>ppm</small>`; whenEl.textContent= d.label;const rise = d.v- modern[0].v; note.innerHTML= idx ===0?"The very first month of measurements.":`That's <b>${rise >0?"+":""}${rise.toFixed(1)} ppm</b> since March 1958. Notice the yearly wiggle: plants soak up CO₂ every Northern Hemisphere summer.`; } else {const iceSlice = data.slice(0, idx +1).filter(e => e.kind==="ice");const mloSlice = data.slice(0, idx +1).filter(e => e.kind==="mlo"); lineIce.attr("d", d3.line(e =>x(e.ago), e =>y(e.v))(iceSlice)); lineMain.attr("d", mloSlice.length? d3.line(e =>x(e.ago), e =>y(e.v))([iceSlice[iceSlice.length-1],...mloSlice]) :null); dot.attr("cx",x(d.ago)).attr("cy",y(d.v)); ppmEl.innerHTML=`${Math.round(d.v)}<small>ppm</small>`;if (d.kind==="ice") { whenEl.textContent=`about ${d3.format(",")(Math.round(d.ago/1000) *1000)} years ago`; note.innerHTML= d.v<210?"🧊 A cold <b>ice age</b> (glacial period). Low CO₂, huge ice sheets.": d.v>265?"🌿 A warm <b>interglacial</b> period, like the last 10,000 years.":"Air from a bubble trapped in Antarctic ice."; } else { whenEl.textContent=`${d.y} (Mauna Loa yearly average)`; note.innerHTML=`<b>${Math.round(d.v- iceMax)} ppm above</b> the highest point in the ice-core averages. Humans burning fossil fuels did this in about 150 years.`; } } }// Playbacklet timer =null, visible =false, played =false;const STEPS_PER_SEC = () => data.length/6;functionstop() { if (timer) { timer.stop(); timer =null; } playBtn.textContent="▶"; playBtn.setAttribute("aria-label","Play"); }functionplay() {if (reduceMotion) { show(data.length-1);return; }if (idx >= data.length-1) show(0);const start = idx; playBtn.textContent="❚❚"; playBtn.setAttribute("aria-label","Pause"); timer = d3.timer(el => {const i = start +Math.floor(el /1000*STEPS_PER_SEC());show(i);if (i >= data.length-1) stop(); }); } playBtn.addEventListener("click", () => timer ?stop() :play()); range.addEventListener("input", () => { stop();show(+range.value); });// Drag or tap on the chart to read valuesconst node = svg.node();const nearest = e => {const b = node.getBoundingClientRect();const px = (e.clientX- b.left) * W / b.width;const key = mode ==="modern"? (d => d.t) : (d =>-d.ago);const target = mode ==="modern"? x.invert(px) :-x.invert(px);return d3.leastIndex(data, d =>Math.abs(key(d) - target)); }; node.addEventListener("pointerdown", e => { stop();show(nearest(e)); }); node.addEventListener("pointermove", e => { if (e.pointerType==="mouse"|| e.buttons) show(nearest(e)); }); tabs.addEventListener("click", e => {const b = e.target.closest(".u4h-tab");if (!b || b.dataset.mode=== mode) return;stop(); mode = b.dataset.mode; tabs.querySelectorAll(".u4h-tab").forEach(t => t.setAttribute("aria-pressed", t === b ?"true":"false"));setup();if (reduceMotion ||!visible) show(data.length-1);else { show(0);play(); } });setup();show(modern.length-1);// Draw itself the first time it scrolls into view; pause when off screenconst io =newIntersectionObserver(([entry]) => { visible = entry.isIntersecting;if (!visible) stop();elseif (!played &&!reduceMotion) { played =true;show(0);play(); } }, {threshold:0.35}); io.observe(node); invalidation.then(() => { io.disconnect();stop(); });returnroot;}
Data: NOAA Global Monitoring Laboratory, Mauna Loa monthly mean CO₂, March 1958 – September 2026. Ice cores: Antarctic ice-core CO₂ composite (Bereiter et al., 2015, NOAA NCEI Paleoclimatology), shown as 1,000-year averages. The highest single ice-core value is 298.6 ppm, about 335,000 years ago.
Earth’s temperature is rising, reversing the cooling trend that occurred over the past 2,000 years, putting millions of people in harm’s way, yet the public is not convinced of the risks.
Climate has changed in the past because of natural factors. Today’s change is different: 99.9% of climate scientists agree that humans are the cause, which also means humans can take action to limit the changes and their consequences.
19.2 Unit Driving Question
How do natural factors contribute to changes in Earth’s temperature? What are 99.9% of climate scientists seeing in historical climate data that makes them so sure humans are the cause of climate change today, and why does it matter?
Performance task:Educating your community about the predicted impacts of climate change on human populations. You will communicate the scientific consensus to someone in your community who is skeptical. To do so, you will:
Analyze and interpret data to confirm that human activities are causing climate change right now
Analyze and interpret data to determine future impacts of climate change
Explain how these impacts are expected to affect human populations