Public
Edited
Dec 15
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

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more