Published
Edited
Jun 30, 2020
1 star
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
timeParser = d3.timeParse('%Y-%m-%d');
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
tickFormatter = d3.timeFormat('%b');
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
filtered_city_data = city_data.filter(d => d.region == city)
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
import {select, button} from "@jashkenas/inputs"
Insert cell
Insert cell
md`### Dump`
Insert cell
// line for missing values
// svg.append("path")
// .datum(d => d.values.filter(line.defined()))
// .attr("stroke", "white")
// .attr("fill", "none")
// .attr("d", line)
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