Click on the scatter plot to place split lines. Watch the decision tree diagram grow, regions color in, and accuracy update after every split.
Dataset
Add Split
Click on the plot to preview a split
Tree Metrics
Feature Space (click to place X-split)
Decision Tree Structure
Gini Impurity
Measures how mixed a node is. Gini = 0 means all one class (pure). The tree minimizes impurity at each split.
Splitting Criteria
At each node, find the feature and value that most reduces impurity. ID3 uses entropy; CART uses Gini.
Overfitting Risk
Deep trees memorize training data. Pruning, max-depth, and min-samples-per-leaf prevent overfitting.