Public
Edited
Feb 2, 2023
1 fork
Insert cell
Insert cell
Plot.plot({
marks: [
Plot.cell( familyTies[5]['results'], { // a cell is a rectangle
x: "src_prb", // for each item_a there will be an x position
y: "dst_prb", // for each item_b there will be a y position
fill: "only_src_dst_asn" // the fill color will correspond to the count
})
],
color: { scheme: "greens", legend: true },
marginLeft: 100
})
Insert cell
familyTies = FileAttachment("family-ties@1.json").json()
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