Skip to main content
Public

Share visualization

Loading preview…

Random Forest Visualisation

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Random Forest Visualisation

0
TTimothyMiage
Last edited Jun 6, 2023
Created on Jun 6, 2023
Forked from D3 Starter

This interactive visualization displays a random forest of decision trees trained on the Iris dataset, with each tree represented as a collapsible, animated dendrogram rendered in SVG. Accuracy levels for each tree are color-coded (red for high, blue for medium, gray for low) via CSS classes, with tooltips on hover. Users can filter trees by attribute or accuracy group using linked dropdown menus. The implementation uses D3.js v5 to parse the hierarchical JSON and construct the tree layouts, with click-to-toggle node expansion and a custom scrollable container for the horizontal forest view.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed