Public
Edited
Oct 13, 2023
Insert cell
Insert cell
rgba1 = "rgba 141 125 48 1.0"
Insert cell
rgba2 = "rgba 61 167 26 1.0"
Insert cell
d = -640.050824563974
Insert cell
d1 = 835.1347622625226
Insert cell
d2 = 790.1091742283243
Insert cell
result = d3.scaleLinear([d1, d2], ["yellow", "blue"])(9000)
Insert cell
resultLog = d3.scaleLog([d1, d2], ["yellow", "blue"])(800)
Insert cell
d3.color(result)
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