Published
Edited
Nov 20, 2019
Importers
Insert cell
Insert cell
vanCrimes = d3.json("https://www.sfu.ca/~lyn/data/Urban/VanCrimeWithAccidents.json");
Insert cell
d3 = require('d3@5')
Insert cell
vanCrimess = vanCrimes.features.filter( d => d.properties.YEAR == 2017)
Insert cell
vanCrime2 = vanCrimess.filter( d => d.properties.MONTH >= 5 && d.properties.MONTH <= 8)
Insert cell
vanCrime = new Object({type: "FeatureCollection", features: vanCrime2})
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