Published
Edited
Jan 30, 2020
1 fork
10 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
exampleScale = d3sB.scaleLinear().domain([ [0, 100], [100, 500], [500, 1000] ])
Insert cell
Insert cell
exampleScale.range([0, 150])
Insert cell
Insert cell
exampleScale.scope([ [0, 0.5], [0.5, 0.9], [0.9, 1] ])
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
clusters = ss.ckmeans(data.map(d => d.taxRefund), 3);
Insert cell
Insert cell
taxRefundDomains = d3sB.breakDomain(data.map(d => d.taxRefund), d3.extent(clusters[1]))
Insert cell
Insert cell
taxRefundScope = d3sB.breakScope(data.map(d => d.taxRefund), d3.extent(clusters[1]));
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