Public
Edited
Feb 4, 2024
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
counties = FileAttachment("us_regional_hiearchy@1.csv").csv()
Insert cell
map_data = {
let map_data = await FileAttachment("states_regions_divisions.json").json();

let regions = topojson.feature(map_data, map_data.objects.regions);
let divisions = topojson.feature(map_data, map_data.objects.divisions);
let states = topojson.feature(map_data, map_data.objects.states);

return { regions, divisions, states };
}
Insert cell
tippy_style = html`<link rel="stylesheet" href="${await require.resolve(
`tippy.js/themes/light-border.css`
)}">`
Insert cell
tippy = require("tippy.js@6")
Insert cell
import { Pack } from "@d3/pack"
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