Public
Edited
Nov 15, 2019
2 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
ramp(d3.interpolateViridis) // A nice sequential color scheme.
Insert cell
Insert cell
ramp(d3.interpolateHclLong("#d34e23", "#004d80")) // A color ramp based on my palette.
Insert cell
Insert cell
Insert cell
color_categorical = d3.scaleOrdinal().domain(data)
.range(['#1C2A39', '#5C6A79', '#5E2C0B', '#9E6C4B', '#932210', '#D3623B', '#A84410', '#E67E22', '#005C01', '#009C41', '#005B50', '#009B90', '#102770', '#0067B0', '#1E003D', '#6E248D', '#8A0028', '#CA2C68', '#870000', '#D73C2C'])
Insert cell
Insert cell
Set1 = swatches("Set1")
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