Unlisted
Edited
Oct 25, 2022
Insert cell
Insert cell
Insert cell
Insert cell
require('topohelper')
Insert cell
require('topohelper@latest')
Insert cell
topohelper = import("https://cdn.jsdelivr.net/npm/topohelper@latest/+esm")
Insert cell
require(await FileAttachment("topohelper.umd.cjs").url())
Insert cell
Insert cell
topohelper.from(france)
.innerlines({groupby: "dep"})
.properties({layer: 0, select: ["id", "pop"]}) // need Arquero external deps
.project({proj: "+proj=robin"}) // need Proj4 external deps
.view({tooltip: true, zoom: true})
Insert cell
Insert cell
france = FileAttachment("france_commune_2022.json").json()
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