Public
Edited
May 1, 2024
2 stars
Insert cell
Insert cell
Plot.plot({
title: "EPSG:32119",
width: 640,
height: 320,
projection: {
type: "conic-conformal",
parallels: [34.3333, 36.1667],
rotate: [79, 0],
domain: ncstate
},
marks: [
Plot.geo(ncstate),
Plot.geo(nccounties, {strokeOpacity: 0.1})
]
})
Insert cell
Plot.plot({
title: "EPSG:5070",
width: 640,
height: 320,
projection: {
type: "albers",
domain: ncstate
},
marks: [
Plot.geo(ncstate),
Plot.geo(nccounties, {strokeOpacity: 0.1})
]
})
Insert cell
us = FileAttachment("counties-10m.json").json()
Insert cell
counties = topojson.feature(us, us.objects.counties)
Insert cell
states = topojson.feature(us, us.objects.states)
Insert cell
ncstate = states.features.find((d) => d.id === "37")
Insert cell
nccounties = ({type: "FeatureCollection", features: counties.features.filter((d) => d.id.startsWith("37"))})
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