# Live Stats Refresh

Demonstrates the runtime data path. The viewer mounts disabled with zeroed counters, subscribes to `onToggle` to hear when the user flips visibility, then calls `updateData()` to push a fresh frame of `nodeCount`/`polyCount`/`pathfindTime` and re-render the stats in place. This mirrors how an in-engine profiler hook would feed the panel each frame.
