Public
Edited
Apr 27, 2023
Insert cell
Insert cell
viewof al = Inputs.range([0, 0.001], {label: "learning rate", step: 0.00001})

Insert cell
value = (x, y) =>
(x ** 2 + y ** 2)
Insert cell
thresholds = d3.range(0, 7.5, .5)
Insert cell
color = d3.scaleSequential(d3.extent(thresholds), d3.interpolateMagma)
Insert cell
import {legend} from "@d3/color-legend"
Insert cell
legend({color, title: "Value", tickFormat: ","})
Insert cell
gradient = function(x, y) {return {x: 2 * x + y, y: 6 * y + x};}
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