Public
Edited
Nov 25, 2022
Importers
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
dmc02Lines = FileAttachment("2022-30dmc-02-lines@1.json").json()
Insert cell
Insert cell
dc_projected = projection([dc.lng, dc.lat])
Insert cell
Insert cell
dc = ({ lat: 38.895, lng: -77.0366 })
Insert cell
Insert cell
us_states = topojson.feature(
countiesAlbers10m,
countiesAlbers10m.objects.states
).features
Insert cell
Insert cell
us_counties = topojson.feature(
countiesAlbers10m,
countiesAlbers10m.objects.counties
).features
Insert cell
projection = d3.geoAlbersUsa().scale(1300).translate([487.5, 305])
Insert cell
path = d3.geoPath()
Insert cell
countiesAlbers10m = FileAttachment("counties-albers-10m.json").json()
Insert cell
topojson = require("topojson-client@3")
Insert cell
width = 975
Insert cell
height = 610
Insert cell
maga_red = "#f00808" // via https://www.color-hex.com/color-palette/21132
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