Public
Edited
Jul 11, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
chartHeight = years.length * (barHeight + 20) // Anzahl Jahr * Balkenhöhe + Margin)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
dataPath = "https://raw.githubusercontent.com/statistikZH/decarb_monitoring/main/output/G2_data.csv"
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
category = [...new Set(d3.map(data, (d) => d.Variable))]
Insert cell
Insert cell
Insert cell
Insert cell
// displayData = wrangleData(data)
Insert cell
Insert cell
Insert cell
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