Published
Edited
Aug 3, 2020
Insert cell
Insert cell
Insert cell
Insert cell
data = ({
nodes: [
{ id: "1", label: "Food" },
{ id: "0", label: "A city with several industries (pie chart)" },
{ id: "2", label: "Waste" },
{ id: "3", label: "Water" },
{ id: "4", label: "Fuel" },
{ id: "5", label: "Emissions" }
],
relationships: [
{
id: "3",
label: "Imported from elsewhere in SA",
source: "1",
target: "0"
},
{ id: "4", label: "Imported from outside of SA", source: "1", target: "0" },
{ id: "5", label: "Exported", source: "0", target: "1" },
{ id: "6", label: "Recycled", source: "0", target: "0" },
{ id: "7", label: "Dumped in the sea", source: "0", target: "2" },
{ id: "8", label: "Transport", source: "0", target: "4" },
{ id: "9", label: "Transport", source: "0", target: "5" },
{ id: "10", label: "Imported", source: "3", target: "0" }
]
})
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

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