...

/

Display Charts with Streamlit

Display Charts with Streamlit

Learn to display charts with Streamlit.

We use the following code to generate some numerical data for this lesson:

Press + to interact
import numpy as np
df = 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()
...