Public
Edited
May 31, 2024
Fork of VENN DIAGRAM
2 forks
Insert cell
Insert cell
Insert cell
d = [0.1, 1.5, 2.5, 3.5, 4.5, 5, 2.2, 6, 3,1, 2.8, 1,.7, 1.3, 0.8, 2, 2.5, 3, 2.3, 0.5, 1, 6.5, 8, 4, 3.2, 0.2, 0.4, 4, 0.05, 2];
Insert cell
d.length
Insert cell
Insert cell
chart = {
const svg = d3
.create("svg")
.attr("viewBox", [0, 0, width, height])
.style("overflow", "visible");

svg
.selectAll("rect")
.data(d)
.join("rect")
.attr("x", (z) => z * 200)
.attr("y", 0)
.attr("width", (d) => d * 10)
.attr("height", 300);

return svg.node();
}
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