Public
Edited
Aug 6, 2024
6 forks
Importers
6 stars
Insert cell
Insert cell
Plot.plot({
projection: "equirectangular",
style: "overflow: visible;",
r: {transform: (r) => Math.pow(10, r)}, // Richter to amplitude
marks: [
Plot.geo(land, {fill: "currentColor", fillOpacity: 0.2}),
Plot.sphere(),
Plot.geo(earthquakes, {
r: "mag",
fill: "red",
fillOpacity: 0.2,
stroke: "red",
title: "title",
href: "url",
target: "_blank"
})
]
})
Insert cell
world = FileAttachment("countries-110m.json").json()
Insert cell
land = topojson.feature(world, world.objects.land)
Insert cell
earthquakes = d3.json("https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_week.geojson")
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