Public
Edited
Nov 21, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
x.get(keyz)
Insert cell
// z = d3.scaleSequential(x.get(keyz).domain().reverse(), colors)
z = d3.scaleSequential(x.get(keyz).domain(), colors)
Insert cell
Insert cell
first_column = data.columns[0]
Insert cell
label = (d) => d[first_column] // d.Economy
Insert cell
// colors = d3.interpolateBrBG
// colors = d3.interpolateBlues
// colors = d3.interpolateCubehelixDefault
colors = d3.interpolateRdYlGn
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