Published
Edited
Oct 12, 2021
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// viewof group = select({
// options: keys,
// value: "35-49",
// title: "Select an age group"
// })
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
fmt = d3.format(".0%")
Insert cell
Insert cell
colorDiff(1)
Insert cell
colorDiff = d3.scaleSequential(d3.interpolateRdBu)
.domain([0.3, -0.3])
Insert cell
// selectedData = nestedData.find(d => d.key == group).values
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {legend} from "@d3/color-legend"
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