Public
Edited
Mar 27, 2023
1 star
Insert cell
Insert cell
import { Flight, belevingsvlucht } from "@xoolive/traffic-js"
Insert cell
Insert cell
Insert cell
belevingsvlucht.table()
Insert cell
Insert cell
belevingsvlucht.view()
Insert cell
Insert cell
viewof f30s = belevingsvlucht.resample(d3.timeSecond.every(30)).view()
Insert cell
f30s.table()
Insert cell
viewof f2min = belevingsvlucht.resample(d3.timeMinute.every(2)).view()
Insert cell
f2min.table()
Insert cell
Insert cell
belevingsvlucht.resample(5).table()
Insert cell
belevingsvlucht.resample(200).view()
Insert cell
// You may confirm the length of the resulting table
belevingsvlucht.resample(1000).entries()
Insert cell
Insert cell
belevingsvlucht.simplify(1e3).view() // 1 kilometers
Insert cell
belevingsvlucht.simplify(1e3).entries() // note the number of samples
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