Public
Edited
Jan 26, 2024
Insert cell
Insert cell
Plot.dot(counties, Plot.hexbin({r:"count"}, Plot.geoCentroid())).plot()
Insert cell
countyboxes = {
const counties = topojson.feature(id, id.objects.IDN_adm_2_kabkota).features;
return counties.map((d) => d3.geoBounds(d).flat());
}
Insert cell
counties = topojson.feature(id, id.objects.IDN_adm_2_kabkota).features
Insert cell
id = fetch("https://raw.githubusercontent.com/tvalentius/Indonesia-topojson/master/indonesia-topojson-city-regency.json").then(d => d.json())
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