A skill tree is a graph of nodes (abilities) connected by lines (prerequisites). A common three-state pattern: locked nodes dim, unlocked nodes bright, and nodes that are unlockable right now — prerequisites met, points available — get an extra border or glow. Without that third state, players can't tell what's learnable without clicking to find out.
Lines are usually SVG lines or divs rotated and sized to match an angle and length. Animating a brief light-travel along the line feeding into a node right as it unlocks visually completes the "this flowed in from there" causality.
Large trees rarely fit one screen, which forces zoom or scroll — and it's easy to lose your place once you do. Splitting the tree into color-coded regions by category is a common way to keep a sense of where you are.
When to use
RPG character progression, tech trees, upgrade systems — any progression screen where choices have prerequisites.