Iterative improvement
So far, we have been almost purely in production mode with this app. Iterative improvement is all about editing the work we have already done and organizing it in a way that makes the app more usable and, frankly, nicer to look at. There are a few improvements that we can shoot for here:
- Beautification via animation
- Organization using columns and width
- Narrative building through text and additional statistics
Let's start by using animations to make our apps a bit prettier!
Beautification via animation
In Chapter 7, Exploring Streamlit Components, we explored the use of various Streamlit components: one of these was a component called streamlit-lottie
, which gives us the ability to add animation to our Streamlit applications. We can improve our current app by adding an animation to the top of our current Streamlit app using the following code. If you want to learn more about Streamlit components, please head back over to Chapter...