Displaying data on a dashboard
In this tutorial, we’ll take a tour of Anvil, build a data dashboard, and deploy it on the web. We’ll start from a blank page, and we’ll build up a web app that displays data from:
- Anvil’s built-in database
- External SQL databases
- and HTTP APIs.
And we’ll do it all with nothing but Python!
The final app will look something like this:
The techniques you’ll learn in this tutorial are fundamental to building any Anvil app, and mastering them will give you a good understanding of how Anvil works.
ChaptersIn this tutorial, you'll:
Build a dashboard UI using Anvil’s drag-and-drop editor.
Plot data from an external SQL database
Plot data from an external SQL database in a private network
Plot real-time data from an external REST API
Apply some fine-grained styling to the graphs.
Display some headline statistics above the graphs.
Click the following link to clone the finished app and explore it in the Anvil editor.
If you prefer a more theoretical approach to learning, you can dive straight into the documentation.