Notebooks 2.0 is here.

Public
Edited
Nov 17, 2024
1 fork
Insert cell
Insert cell
Insert cell
Insert cell
generated_graph = chart.update(query, global_angle, GLOBALS);
Insert cell
GLOBALS = [0.7, 1600, 1, 4, 11, "Animalia", 0, false, true, false]
// 0. Scale factor - scale the entire SVG
// 1. Graph size - dimensions of the image in px
// 2. Node multiplier - scale factor for node radii
// 3. Minimium node population - minimum size the nodes will be set to
// 4. Font size - font size of clade labels
// 5. Initial clade name - [DEPRECATED]
// 6. Rotational fudge - change the angle at which the labels are rendered (default starts at 45)
// 7. Straight text - straighten all labels to be horizontal with respect to initial alignment
// 8. Ancestral vs. descendant - TODO: highlight descendents with mouseover
// 9. Remove mononodes - removes all nodes that have exactly one child with the same exact size
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

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