Skip to main content
In this capstone, you will build a complete Streamlit application by combining all the concepts covered in this chapter. Follow the steps below and run the application after completing each step.

Step 1: Create the Project

Create a new project folder.
Install Streamlit.
Run the application.

Step 2: Create the Basic Application


Step 3: Create the Sidebar


Step 4: Upload a CSV File


Step 5: Display Dataset Information


Step 6: Create Filters


Step 7: Filter the Data


Step 8: Use Session State


Step 9: Organize the Layout


Step 10: Display Summary Report


Step 11: Create Charts

Grade Distribution


Step 12: Add Progress Indicators


Step 13: Download the Report


Step 14: Final Dashboard Layout


Sample Dataset (students.csv)


Concepts Covered

  • Streamlit application structure
  • Streamlit execution flow
  • Displaying text and DataFrames
  • Sidebar
  • User input widgets
  • Forms
  • Columns and containers
  • Tabs
  • Session State
  • Status messages
  • Pandas for CSV handling
  • NumPy for basic calculations
  • Matplotlib visualizations
  • Interactive filtering
  • Dashboard development
  • Report download