Public
Edited
Nov 17
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

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more