In the demo, Starbeam manages data through a structured table and query system. Functions like appending rows, deleting rows, and clearing rows are handled directly through simple JavaScript operations, leveraging Starbeam's reactive capabilities for updates.