Published
Edited
Apr 8, 2021
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof k = slider({ min: -3, max: 10, value: 0.38, description: "y scale exponent" })
Insert cell
Insert cell
Insert cell
Insert cell
classGroups = d3.group(animals, d => d.class)
Insert cell
Insert cell
animalColorScale = d3.scaleOrdinal().domain(animals)
.range(d3.schemeSet3);
Insert cell
animalColorScale
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import { legend as colorLegend, swatches as colorLegendCategorical } from "@d3/color-legend"
Insert cell
import { swatchesInput } from "@clhenrick/color-swatches-input"
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