Fork of Fork of Arbre_Axe_Accuracy
✓ Published0🌍 Public
This example displays a forest of six decision trees, each with an associated accuracy score that determines the color of its nodes (red, blue, or gray). The trees are positioned side-by-side and can be scrolled horizontally within a container. Using the D3 v5 `d3.tree()` layout, the code recursively processes the nested data to generate hierarchical SVG node-link diagrams, applying custom color classes based on accuracy thresholds. The visualization includes animation capabilities and tooltip interactions through the SVG rendering, with the `d3.hierarchy()` API used to structure the raw data before layout computation.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed