What problem does it solve?
Many Streamlit apps require clear, interactive presentation of tabular and time-series data, but assembling the right combination of dataframes, editable tables, charts, and KPI sparklines can be inconsistent and error-prone; this Skill documents patterns and best practices to display data cleanly and accessibly.
Core Features & Use Cases
- Display selection: Guidance on choosing st.dataframe, st.data_editor, st.table, st.metric, and st.json based on interactivity needs.
- Charting: Use native Streamlit charts for simple plots and Altair for advanced axis control, layering, legends, and interactive tooltips.
- Column configuration: Use column_config to format numbers, currency, dates, images, links, progress bars, sparklines, and to hide or pin columns for better UX.
- Editable workflows: Patterns for using st.data_editor with SelectboxColumn and saving/reacting to edits.
- Use case: Create a financial dashboard that shows a revenue time series chart, a top-holders dataframe with logos and links, and KPI cards with sparklines and delta indicators.
Quick Start
Show the dataframe of monthly revenue with readable labels, a pinned title column, and a revenue metric that includes a sparkline.