Public
Edited
Oct 17
Insert cell
Insert cell
Plot.plot({
projection: "albers-usa",
r: {range: [0, 16]},
color: {scheme: "spectral", label: "hmm", legend: true},
marks: [
Plot.geo(statemesh, {strokeOpacity: 0.5}),
Plot.geo(nation),
Plot.dot(vehicles, Plot.hexbin({r:"sum"}, {x: "1", y: "0", r: "Electric (EV)"}))
]
})
Insert cell
nation = topojson.feature(us, us.objects.nation)
Insert cell
statemesh = topojson.feature(us, us.objects.states)
Insert cell
us = FileAttachment("us-counties-10m.json").json()
Insert cell
vehicles = FileAttachment("Vehicle Registration Final@1.tsv").tsv({typed: true})
Insert cell
Data is from: https://afdc.energy.gov/vehicle-registration?year=2023
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