Published
Edited
Jul 16, 2020
Insert cell
Insert cell
Insert cell
Insert cell
dels = data.Races.filter(r => r.RaceName.startsWith('Member House'))
Insert cell
count = l =>
l.reduce(
(m, party) => (m[party] ? m[party]++ : (m[party] = 1), m),
Object.create(null)
)
Insert cell
senate = data.Races.filter(r => r.RaceName.startsWith('Member Senate'))
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