Public
Edited
Apr 18
Paused
Insert cell
Insert cell
Insert cell
circos = d3.groups(
(
await aq.loadCSV(
"https://raw.githubusercontent.com/taniki/legislatives-2024/main/tmp/lg2024_ecarts_t2_t1.csv"
)
).objects(),
(d) => d.CodCirc2
)
Insert cell
circos_rn = circos.filter((d1) =>
d1[1].map((d2) => d2.CodNuaCand).some((d2) => ["RN", "UXD"].includes(d2))
)
Insert cell
candidats_t2 = d3.merge(circos_rn.map((d) => d[1]))
Insert cell
inscrits_t2 = (
await aq.loadCSV(
"https://raw.githubusercontent.com/taniki/legislatives-2024/main/lg2024/t2_inscrits.csv"
)
).objects()
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