Skip to main content
100%

Arbre_Axe_Accuracy

✓ Published4🌍 Public
Zzeyneb.mhamedi@gmail.com
Last edited May 25, 2023
Created on Apr 16, 2023
Forked from Hello VizHub

This visualization displays a forest of decision trees, arranged in a horizontal strip, with each tree colored according to its accuracy metric. The trees are rendered as hierarchical node-link diagrams using the `d3.tree` layout, and nodes change color to yellow when toggled. The code uses D3 v5 to import data, apply the tree layout, and generate SVG elements with animation, specifically leveraging `d3.hierarchy` to structure the data and a custom `getColorByAccuracy` function for fill colors. Links and nodes are drawn with SVG paths and circles.

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