Published
Edited
Apr 13, 2021
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
frequencies = [...new Set(data.map((d) => d.properties.frequency))]
Insert cell
filtered_data = frequency == "All" ? data : data.filter((d) => d.properties.frequency == frequency)
Insert cell
projection = d3.geoAlbers().scale(1300).translate([487.5, 305])
Insert cell
us = FileAttachment("states-albers-10m.json").json()
Insert cell
topojson = require("topojson-client@3")
Insert cell
d3 = require.alias({"d3-array": "d3@6", "d3-delaunay": "d3@6", "d3-geo": "d3@6"})("d3@6", "d3-geo-voronoi@1")
Insert cell
import {Select} from "@observablehq/inputs"
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