Display Charts with Streamlit
Learn to display charts with Streamlit.
We'll cover the following...
We'll cover the following...
We use the following code to generate some numerical data for this lesson:
Press + to interact
import numpy as npdf = np.random.randn(5,5)
Native charts
Streamlit offers three native ways to display data visually as charts.
They are as follows:
- The
st.line_chart()
method produces a line chart.
- The
st.area_chart()