Published
Edited
Jan 17, 2022
3 forks
Importers
19 stars
Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
land = {
let d = remote
? "https://raw.githubusercontent.com/neocarto/resources/master/geometries/France/land.topojson"
: "https://raw.githubusercontent.com/neocarto/resources/master/geometries/France/world_nodom.topojson";

return d3.json(d).then((r) => topojson.feature(r, r.objects.world));
}
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

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
note = `NB: ${
remote
? "Remotes territories are not at the same scale as metropolitan France (European France). The enlargement or reduction factor is indicated in the boxes in percentage."
: "European territories only."
}`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
d3 = require("d3@6", "d3-geo-scale-bar@1.0.2")
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