Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Arbre_Axe_Accuracy

Public visualization

Viewing a saved revision (read-only)

8e8127e9b5f2488e945b0601ba75b892

Arbre_Axe_Accuracy

1 star4🌍 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.