Your workspace has a global data layer
In Davia, each piece of data lives globally in your workspace. Any interactive component (and by extension, any page) can read and update that data. Your workspace has a set of shared, named databases you can plug components into.This paradigm makes your documents connected by design. Build something in
one place, and use the same data in another — with no manual syncing.
Where data lives
All data files are stored in.davia/assets/data/ as JSON files. They can be organized in nested folders.
JSON structure
Data files must be valid JSON. For most use cases, top-level arrays are preferred — similar to database tables.Two ways to display data
1. Database Views (for tabular data)
Embed JSON directly in an HTML page as an interactive table:Database views only work when the JSON root is a top-level array. Each
array item becomes a row in the table.

