Overview
The JavaScript SDK that data apps use to query your semantic layer
The anfra SDK runs in each data app's page, through the global Anfra. The page asks for data by dataset and metric names, never SQL, and declares how its filters, drill-downs and clicks connect. You render the results with your own HTML, CSS and JavaScript.
New to data apps? Start with Build your first app.
Building blocks
Queries
Describe the data each view needs
Results
Read query state, rows, columns and paging
Controls
Add filters and date drills
Cross-filtering
Connect a selection in one view to other queries
Export
Let readers download a query's result
Query cache
Answer repeated queries without the warehouse
Lineage
Trace a metric back to what it is built from
Render
Save the page as a PNG or PDF
Page structure
Mark the parts of your page for tools