Published
Edited
Jun 6, 2020
1 star
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
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
text = FileAttachment("f_text-5 Jun 2020.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 = "F";
Insert cell
Insert cell
tree = data => {
const root = d3.hierarchy(data).sort((a, b) => d3.ascending(a.data.text, b.data.text));
return d3.cluster().size([2 * Math.PI, radius - 100])(root);
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
radius = width / 2
Insert cell
html`<style>
#fan-chart {
max-height: 900px;
}
</style>
`
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