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
Insert cell
text = FileAttachment("n_text-6 Jun 2020.json.json").json()
// text = fetch(`https://en.wikipedia.org/w/api.php?format=json&origin=*&action=parse&prop=text&page=List_of_proverbial_phrases&section=${section_number}`).then(response => response.json())
Insert cell
section_letter = "N";
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
diagonal = d3.linkHorizontal().x(d => d.y).y(d => d.x)
Insert cell
tree = d3.tree().nodeSize([dx, dy])
Insert cell
dx = 10
Insert cell
dy = (width / 12) - margin.left - margin.right // adjusted for the depth of nodes and margins
// dy = (width / 12)
// dy = (width / 6)
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