Public
Edited
Feb 15, 2023
3 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
squares = bertin.draw({
params: { projection: "Hufnagel", background: "white" },
layers: [
{
type: "header",
text: field == "pop" ? "- WORLD POPULATION -" : "- WORLD WEALTH -",
fill: "#383838"
},
{
type: "regularsquare",
geojson: data,
step: step,
demers: demers,
values: field,
k: k,
stroke: "#E8AE38",
fill: "#383838",
strokeWidth: 1.5
},
{ type: "hatch", stroke: "white", spacing: 4, strokeWidth: 3 },
{ geojson: data, fill: "white", fillOpacity: 0.05, stroke: "none" },
{ type: "outline", fill: "#383838" }
]
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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