What problem does it solve?
This skill explains how to present tabular data, charts, and metrics in Streamlit so dashboards and reports are readable, properly formatted, and actionable rather than cluttered or confusing.
Core Features & Use Cases
- Native charts for simplicity: Use Streamlit's built-in line, bar, scatter, area charts for quick visualizations with grouping, stacking, and sizing options.
- Altair for control: Employ Altair when you need custom axis formatting, multiple series with legends, interactive tooltips, or layered visualizations.
- Dataframe column configuration & metrics: Configure columns to format numbers, show progress bars, images, links, hide internal fields, pin important columns, and add sparklines to metrics for compact trend context.
- Use case: Build a sales dashboard that displays a revenue DataFrame with a formatted Revenue column, a pinned title column, a revenue-over-time line chart, and sparklines in key metric cards.
Quick Start
Show me a Streamlit example that displays a sales DataFrame with a formatted Revenue column, a line chart of revenue over time, and a sparkline metric.