Published
Edited
Apr 3, 2020
Insert cell
Insert cell
Insert cell
//viewof secondSelect = select({ options: Array.from(groupedData.get(topSelect).keys()), value: "Bayern"})
Insert cell
Insert cell
Insert cell
Insert cell
timeParse = d3.timeParse("%Y%m%d")
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
formatValue = x => isNaN(x) ? "N/A" : x.toLocaleString("en")
Insert cell
height = 600
Insert cell
margin = ({top: 10, right: 20, bottom: 20, left: 40})
Insert cell
d3 = require("d3@5")
Insert cell
array = require("d3-array@^2.2")
Insert cell
import {legend, swatches} from "@d3/color-legend"
Insert cell
import {select} from "@jashkenas/inputs"
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