Public
Edited
Apr 24, 2024
Insert cell
Insert cell
Insert cell
population = FileAttachment("us-state-population.csv").csv({typed: true})
Insert cell
keys = d3.sort(new Set(population.map(d => d.key)), d => parseInt(d.match(/\d+/)[0]))
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