This is yet another visualization of a decision tree. It is built using d3.js and utilizes the so-called force layout which enables the user to drag tree nodes and change the shape of the tree.
The default tree displayed here is from this scikit-learn example. You can replace it with any other scikit-learn's decision tree representation in .dot format. It was designed to work with classification trees.
Each tree node is a pie chart indicating proportions of different classes at respective branch. You can hover over the node of interest to see the exact number of data points from each class in the bottom left corner. Similarly, you can hover over tree links to see splitting conditions.
Project code is available on my Github page.
Something went wrong! Could not parse input.
To change underlying tree data replace text below with the content of your .dot file and press 'Submit'. Help on how to generate .dot file.