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

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more