Public
Edited
Dec 5, 2022
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
viewof vizType = radio({
title: 'Visualization Type',
description: 'Please select visualization type',
options: [
{ label: 'Nodes', value: 'node' },
{ label: 'Edges', value: 'edge' },
{
label: 'Hexagon',
value: 'hexagon'
},
{ label: 'Tiles', value: 'tile' }
],
value: 'hexagon'
})
Insert cell
viewof intersectType = radio({
title: "Intersection Mode",
description: "Please select intersection type",
options: [
{ label: "Union", value: "routing_union" },
{
label: "Max",
value: "max"
},
{ label: "Average", value: "mean" },
{ label: "Nearset", value: "nearest" }
],
value: "routing_union"
})
Insert cell
viewof travelMode = radio({
title: "Travel Mode",
description: "Please select travel mode",
options: [
{ label: "Walk", value: "walk" },
{
label: "Bike",
value: "bike"
},
{ label: "Car", value: "car" },
{ label: "Transit", value: "transit" }
],
value: "bike"
})
Insert cell
viewof edgeWeight = radio({
title: "Travel Time",
description: "Please select travel time",
options: [
{ label: "15min", value: "900" },
{ label: "30min", value: "1800" },
{ label: "45min", value: "2700" },
{ label: "60min", value: "3600" }
],
value: "1800"
})
Insert cell
html`
<style>
.panel {
display: grid;
grid-template-columns: repeat(2,auto);
column-gap: 20px;
row-gap: 20px;
}
</style>`
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