Public
Edited
Jul 9, 2021
1 fork
Insert cell
Insert cell
Insert cell
map()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
regioni_data = regioni.features.map(d => d.properties)
Insert cell
Insert cell
Insert cell
Insert cell
italy = FileAttachment("regioni.topo.json").json()
Insert cell
regioni = topojson.feature(italy, italy.objects.regioni)
Insert cell
Insert cell
projection = d3.geoAzimuthalEqualArea() // Lambert equal-area
.rotate([-9, -53]) // centered in Germany (FIXME?)
.fitExtent([[0, 0], [w, h]], regioni)
Insert cell
path = d3.geoPath().projection(projection)
Insert cell
Insert cell
d3 = require("d3@5")
Insert cell
topojson = require("topojson-client@3")
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