Skip to main content
100%

Fork of Fork of Arbre_Axe_Accuracy

✓ Published0🌍 Public
SSubhendu Karmakar
Last edited Jan 1, 2024
Created on Jan 1, 2024

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes