Public
Edited
May 12, 2023
8 forks
15 stars
Insert cell
Insert cell
Plot.plot({
axis: null,
inset: 10,
insetRight: 120,
round: true,
width: 200,
height: 3600,
marks: Plot.tree(flare, {
path: "name",
delimiter: ".",
treeLayout: indent,
strokeWidth: 1,
curve: "step-before",
textStroke: "none"
})
})
Insert cell
function indent() {
return (root) => {
root.eachBefore((node, i) => {
node.y = node.depth;
node.x = i;
});
};
}
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