Public
Edited
May 31, 2024
Insert cell
Insert cell
height = Math.round(width / 2)
Insert cell
initialEmissions = 4270.49
Insert cell
finalEmissions = 2957.36
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
ue_countries.indexOf("Austria")
Insert cell
Insert cell
Insert cell
sortedEmissionsByCountry = d3.group(emissions_ext, d => d.country)
Insert cell
Insert cell
yearCountryEmissions = emissions_ext.filter(d => d.country == selectedCountryName && d.year == mutable selectedYear)[0].total_ghg
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
multiplier = 0.3
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
canvasSketch = require("canvas-sketch@0.7")
Insert cell
Insert cell
owid-co2-data (1).csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
emissions_raw
Insert cell
countries-1.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more