Click to add points (left=class A, right=class B). Grow and prune interactively.
Decision trees recursively partition feature space by choosing the split that maximally reduces impurity (Gini or entropy). Pruning removes leaf pairs to reduce overfitting.