Learn the basics of Anvil by building a data dashboard
Get to grips with Anvil by building a data dashboard displaying real-time data from a variety of sources. In this tutorial, you will:
- Build your User Interface
- Plot data from a Data Table
- Plot data from an external database
- Plot data from a REST API
- Deploy your app
Plot your data with one of Python's many plotting libraries.
Plotting in Altair
Altair is a Python plotting library with a simple API based on a declarative plotting language called Vega. This means its API scales well for complex plots.
Plotting in Pandas
Pandas contains an outstanding plotting API. This is extremely convenient since Pandas is a standard tool in Python for scalably transforming data.
Plotting in Plotly
Plotly is a plotting ecosystem with powerful Python APIs that also includes client-side interactivity. Of course, this makes it a great fit for Anvil!
Plotting in Pygal
Pygal is a Python plotting library that produces pretty SVG plots with little effort. Style comes to the forefront, and the SVG plots are convenient for embedding in a web app.
Plotting in Seaborn
Seaborn is a Python plotting library based on Matplotlib. It gives you a set of simple plotting functions, and lets you access Matplotlib when you want to tweak things.
Plotting in Bokeh
Bokeh produces interactive HTML plots that you can embed in a web app. Its interface allows for interactivity elements such as tooltips.
Plotting in Matplotlib
Matplotlib is the wise old sage in the plotting village. While some other plotting libraries have simpler interfaces, Matplotlib’s strength is the precise control you have over your plots.
Link code running in a Python notebook to Anvil.
Turning a Jupyter notebook into a web app
In this tutorial, we take our work from a Jupyter notebook, and put a web front end on it so anyone can use it, using the Anvil Uplink.
Turning a Google Colab Notebook into a Web App
In this tutorial, we take our work from a Google Colab notebook, and put a web front end on it so anyone can use it, using the Anvil Uplink.
Deploy Machine Learning to the Web with Deepnote
In this tutorial, we deploy a machine-learning model in a cloud-hosted Deepnote notebook and use Anvil’s Uplink put a web front end on it so anyone can use it.