Public
Edited
May 10, 2023
Insert cell
Insert cell
Insert cell
Insert cell
map = bertin.draw({
params: {
projection: d3.geoInterruptedHomolosine(),
clip: true
},
layers: [
{
type: "layer",
geojson: data,
tooltip: ["$region", "$NAMEen"],
fill: {
type: "typo",
values: "region",
strokeWidth: 0.3,
colors: ['red', 'blue'],
leg_title: `The
Continents`,
leg_x: 55,
leg_y: 180
}
},
{
type: "shadow",
geojson: geom,
opacity: 0.2
},
{ type: "graticule" },
{ type: "outline" }
]
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
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