Published
Edited
Jul 6, 2022
5 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
world = d3.json(
"https://raw.githubusercontent.com/neocarto/bertin/main/data/world.geojson"
)
Insert cell
usaAndMexicoArray = ["United States of America", "Mexico"]
Insert cell
northAmericaGeojson = FileAttachment("north-america.geojson.json").json()
Insert cell
usaAndMexico = ({
type: "FeatureCollection",
features: world.features.filter( (d) =>
usaAndMexicoArray.includes(d.properties.NAMEen)
)
})
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