Published
Edited
Nov 27, 2019
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
colorDomain = [0,20,20,50,50,70,100]
Insert cell
Insert cell
colorRange = ['#7e89fc', '#dee1ff', '#f2f2f2','#f2f2f2', '#ffc9c9','#ff0000', '#ff0000']
Insert cell
Insert cell
num_colors = 50
Insert cell
Insert cell
hexOutput = true
Insert cell
Insert cell
Insert cell
outputListOfColors.slice(40,50)


Insert cell
Insert cell
type_equals_threshold = false // default is false
Insert cell
Insert cell
Insert cell
Insert cell
domainWidth = colorDomain[colorDomain.length - 1]
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