Interactive CART decision tree visualiser. The algorithm recursively partitions 2D space using axis-aligned splits chosen to minimise Gini impurity. Grow the tree depth by depth to see coarse-to-fine decision boundaries on XOR, Moons and Blobs classification datasets. Training accuracy and Gini scores update in real time.

← Machine Learning

Decision Tree Live 📊

UK
Accuracy
Depth0
Nodes1
Leaves1
Root Gini

Class 0 (blue)
Class 1 (violet)
Dataset
Max Depth
1