Published
Edited
Oct 18, 2021
9 forks
Importers
14 stars
Also listed in…
d3-array
d3-shape
Insert cell
Insert cell
Insert cell
chart = StackedAreaChart(unemployment, {
x: d => d.date,
y: d => d.unemployed,
z: d => d.industry,
yLabel: "↑ Unemployed persons",
colors: d3.schemeTableau10,
width,
height: 500
})
Insert cell
unemployment = FileAttachment("unemployment.csv").csv({typed: true})
Insert cell
import {StackedAreaChart} from "@d3/stacked-area-chart"
Insert cell
import {Swatches} from "@d3/color-legend"
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