Published
Edited
Sep 11, 2020
1 fork
11 stars
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
update = {
chart.zoom();
chart.update(+pres);
}
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
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
famStatuses = new Map(
uniques(raw, "famses")
.map(d => {
const code = extract(d);
const status = d.substr(code.length + 2);
return [+code, status];
})
.sort((a, b) => a[0] - b[0])
)
Insert cell
races = new Map(
uniques(raw, "race")
.map(d => {
const code = extract(d);
const race = d.substr(code.length + 2);
return [+code, race];
})
.sort((a, b) => a[0] - b[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