Public
Edited
Nov 14, 2022
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
uniqueName = (d) => {
return d.pango_lineage.slice(0, 4).replaceAll(" ", "");
}
Insert cell
Insert cell
data = nextstrain_ncov_open_global_6m_metadata
Insert cell
nextstrain_ncov_open_global_6m_metadata.tsv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
import { SankeyChart } from "@d3/sankey"
Insert cell
d3Sankey = require.alias({
"d3-array": d3,
"d3-shape": d3,
"d3-sankey": "d3-sankey@0.12.3/dist/d3-sankey.min.js"
})("d3-sankey")
Insert cell
d3 = require("d3")
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