Public
Edited
Nov 10, 2024
Paused
3 forks
Importers
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
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
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
debateURL
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
completeArray = await debateURL
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
//problemData = Array.from(new Set(
rolledWithConstituency.filter(d => d.constituency == undefined).map(d => d.name)
//))
Insert cell
problemDataSorted = Array.from(rolledWithConstituency.filter(d => d.constituency == undefined).sort((a, b) => d3.descending(a.date, b.date)))
Insert cell
undefinedConstituency1 = (rolledWithConstituency.filter(d => d.name == "Frank Feighan"))
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {constituencyFile} from "34336da04790ac8e"
Insert cell
import {circle} from "34336da04790ac8e"
Insert cell
import {constituencyMap} from "34336da04790ac8e"
Insert cell
choroplethData = d3.rollup(rolledWithConstituencyMemberCode, v => v.length, d => d.constituency)
// ([constituency, total]) => ({constituency, total}))
Insert cell
filteredChoroplethHeadings = d3.rollup(rolledWithConstituencyMemberCode.filter(d => d.heading == `${selectHeading}`), v => v.length, d => d.constituency)


Insert cell
headings = Array.from(new Set(rolledWithConstituencyMemberCode.map(d => d.heading).sort(d3.ascending)))
Insert cell
import {chart as Sankey} from "9f320b74ac22ef74"
Insert cell
import {deputiesChart} from "e84fe7cb9ccd1961"
Insert cell
import {rolledUpForPackedCircle} from "e84fe7cb9ccd1961"
Insert cell
flatRoll.filter(d => d[5].includes('wildlife')).filter(d => d[0] == "Agriculture")
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