Public
Edited
Dec 15, 2024
Paused
1 fork
Importers
18 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {voronoiCentroids} from "@fil/plot-voronoi-labels"
Insert cell
Insert cell
airports = FileAttachment("airports.csv").csv({ typed: true })
Insert cell
Insert cell
nuts = FileAttachment("nuts.json").json()
Insert cell
Insert cell
cities1k = FileAttachment("cities1000.csv").csv({ typed: true })
Insert cell
cities10k = FileAttachment("cities10000.csv").csv({ typed: true })
Insert cell
Insert cell
Insert cell
world110m2020 = FileAttachment("world-110m-2024.json").json()
Insert cell
world110m = world110m2020 // alias
Insert cell
countries110m = topojson.feature(world110m, world110m.objects.countries)
Insert cell
countries = countries110m // alias
Insert cell
land110m = topojson.feature(world110m, world110m.objects.land)
Insert cell
land = land110m
Insert cell
Insert cell
world50m2020 = FileAttachment("world-50m-2024.json").json()
Insert cell
world50m = world50m2020 // alias
Insert cell
countries50m = topojson.feature(world50m, world50m.objects.countries)
Insert cell
land50m = topojson.feature(world50m, world50m.objects.land)
Insert cell
Insert cell
topojson = require("topojson-client@3", "topojson-server@3", "topojson-simplify@3")
Insert cell
d3 = require("d3@7", "d3-geo-projection@4", "d3-geo-polygon@1", "d3-geo-voronoi@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