Public
Edited
Oct 29, 2023
Importers
Insert cell
Insert cell
land50m = FileAttachment("land-50m.json").json()
Insert cell
land = topojson.feature(land50m, land50m.objects.land)
Insert cell
us = FileAttachment("us-counties-10m.json").json()
Insert cell
nation = topojson.feature(us, us.objects.nation)
Insert cell
states = topojson.feature(us, us.objects.states)
Insert cell
statemesh = topojson.mesh(us, us.objects.states, (a, b) => a !== b)
Insert cell
counties = topojson.feature(us, us.objects.counties)
Insert cell
Insert cell
country_lat_long.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
import {addTooltips} from "@mkfreeman/plot-tooltip"
Insert cell
globe = Plot.marks([Plot.graticule(), Plot.geo(land, {fill: "currentColor"}), Plot.sphere()])
Insert cell
world = FileAttachment("countries-50m.json").json()
Insert cell
countries = topojson.feature(world, world.objects.countries)
Insert cell
Insert cell
import {Scrubber} from "@mbostock/scrubber"
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