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

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