displaying-streamlit-data

Present charts, tables, and metrics in Streamlit dashboards.

Updated Jan 27, 2026
One-click install
npx skills add https://github.com/erickfmm/transformer-encoder-frankestein --skill displaying-streamlit-data-erickfmm
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: displaying-streamlit-data
Source: https://github.com/erickfmm/transformer-encoder-frankestein/tree/main/.agents/skills/developing-with-streamlit/skills/displaying-streamlit-data
Command: npx skills add https://github.com/erickfmm/transformer-encoder-frankestein --skill displaying-streamlit-data-erickfmm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Presenting data clearly in Streamlit dashboards to enable quick insights and decision making.

Core Features & Use Cases

  • Native charts first: leverage st.line_chart, st.bar_chart, and st.area_chart for quick visuals.
  • Altair support for complex, customized charts and layered visualizations.
  • Dataframe column configuration: apply column_config to format and highlight key metrics, sparklines, and links.
  • Data exploration and KPI dashboards: combine charts, tables, and metrics in a cohesive UI.

Quick Start

Create a Streamlit app that visualizes a dataframe with native charts and sparklines in metrics.

Frequently Asked Questions about displaying-streamlit-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I display a pandas dataframe with charts and metrics in Streamlit?▼

To display a dataframe with charts and metrics in Streamlit, use st.dataframe for tables, st.metric for KPIs, and st.line_chart or st.bar_chart for quick native visualizations.

Can I add sparklines to a Streamlit dataframe table?▼

Yes, you can add sparklines to a Streamlit dataframe table by using the column_config parameter within st.dataframe to format and highlight key metrics directly inside the table cells.

What is the best way to build a KPI dashboard in Streamlit?▼

The best way to build a KPI dashboard in Streamlit is combining st.metric for key numbers, native charts like st.area_chart for trends, and st.dataframe with column_config for detailed data exploration.

Does this approach support complex layered visualizations in Streamlit?▼

Yes, complex layered visualizations in Streamlit are supported through Altair integration, allowing you to build customized charts when native Streamlit charts are not sufficient for your data.

When should I use native Streamlit charts instead of Altair?▼

Use native Streamlit charts like st.line_chart and st.bar_chart for rapid UI prototyping and quick visual insights, and switch to Altair when you need complex, customized, or layered visualizations.

How do I format specific columns in a Streamlit dataframe to highlight links and metrics?▼

You format specific columns in a Streamlit dataframe using the column_config argument within st.dataframe, which allows you to apply custom formatting, highlight metrics, display sparklines, and render links.