Search⌘ K

Display Data with Streamlit

Discover how to use Streamlit to display different types of data including key metrics with color-coded deltas, dataframes, static tables, and JSON dictionaries. Learn practical methods to present data effectively in your web app before moving on to data visualization.

There are four ways that Streamlit displays data.

Metric

If we have just a single number to show as a key metric, we use the st.metric() method. There’s a delta option to show whether the metric increases or ...