Published
Edited
Apr 5, 2018
4 stars
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
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
changePoints = {
const cutoff = NUM_POINTS - STEP_SIZE;
return makeChangeset(points, // points.slice(cutoff) doesn't work b/c of initial render needed
removeAll)
}
Insert cell
Insert cell
Insert cell
Insert cell
{ // One changeset per dataset, the calls can be chained since points and estimates always change together.
view.change('points', changePoints)
.change('estimates', changeEstimates).run()
}
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
Insert cell
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