Public
Edited
Aug 17, 2021
8 forks
22 stars
Insert cell
Insert cell
Insert cell
viewof h3Resolution = html`<input type=range min=7 max=10 step=1 value=9>`
Insert cell
Insert cell
viewof crimeWeight = html`<input type=range min=0 max=1 step=any value=1>`
Insert cell
viewof schoolWeight = html`<input type=range min=0 max=1 step=any value=1>`
Insert cell
viewof bartWeight = html`<input type=range min=0 max=1 step=any value=1>`
Insert cell
viewof travelWeight = html`<input type=range min=0 max=1 step=any value=1>`
Insert cell
viewof cafesWeight = html`<input type=range min=0 max=1 step=any value=1>`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
mapLayers = [
{hexagons: schoolsLayer, weight: schoolWeight},
{hexagons: bartLayer, weight: bartWeight},
{hexagons: travelTimeLayer, weight: travelWeight},
// Crime is bad, so we'll subtract it instead of adding
{hexagons: crimeLayer, weight: -crimeWeight},
{hexagons: cafesLayer, weight: cafesWeight},
]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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