Published
Edited
Nov 4, 2020
1 fork
8 stars
Insert cell
Insert cell
Insert cell
linien = linien_raw.features
Insert cell
gemeinden = gemeinden_raw.features
Insert cell
kreise = kreise_raw.features
Insert cell
voronoi = voronoi_raw.features
Insert cell
bahnhof = bahnhof_raw.features
Insert cell
linien_raw = FileAttachment("train_lines.geojson").json()
Insert cell
gemeinden_raw = FileAttachment("stats_mit_kreise.geojson").json()
Insert cell
kreise_raw = FileAttachment("Kreise.geojson").json()
Insert cell
voronoi_raw = FileAttachment("bahnhof_voronoi_4326.geojson").json()
Insert cell
bahnhof_raw = FileAttachment("bahnhof_aktiv_4326.geojson").json()
Insert cell
style = html`
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lato:ital@0;1&display=swap">

<style>
body, svg, div {
font-family: Lato, sans-serif;
/* font-size: 48px; */
}
.tooltip {
font-family: Lato, sans-serif;
padding: 7px;
background: rgb(187, 187, 187, 0.6);
border: 2px;
border-style: solid;
border-radius: 2px;
pointer-events: none;
}
</style>
`
Insert cell
d3 = require("d3@6")
Insert cell
voronoiMap
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