Public
Edited
Jun 5
1 star
Insert cell
Insert cell
Insert cell
Insert cell
minimapMap = {
const map = eurostatmap
.map("choropleth")
.svgId("minimap")
.scale("20M")
.stat({
eurostatDatasetCode: "demo_r_d3dens",
unitText: "people/km²",
filters: { TIME: "2023" }
})
.colorFunction(d3.interpolatePurples)
.nutsLevel(3)
.nutsYear(2024)
.position({ x: 4400000, y: 3100000, z: 1400 })
.zoomExtent([-100, 1000])
.minimap({
x: 705,
y: 90,
z: 230,
countryId: "DE",
//size: 120,
debounce: 1
})
.tooltip({ omitRegions: ["RU"] });

map.build();
return map;
}
Insert cell
Insert cell
eurostatmap = require("eurostat-map")
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