Public
Edited
May 7
Insert cell
Insert cell
flare = FileAttachment("tech-decisiontree@4.json").json()
Insert cell
Plot.plot({
axis: null,
margin: 10,
marginLeft: 40,
marginRight: 160,
width: 928,
height: 1800,
marks: [
Plot.tree(d3.hierarchy(flare).leaves(), {
path: (node) => node.ancestors().reverse().map(({ data: { name } }) => name).join("|"),
delimiter: "|"
})
]
})
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