This project provides interactive data visualizations for the SuperStore dataset using Streamlit, Plotly, and Pandas. The application allows users to filter data by date, region, state, and city, and visualize sales data through various charts and tables.
Link to Dashboard - https://y-retail-dashboard-9c6eabc7cb33.herokuapp.com/
- Date Filtering: Filter data by start and end date.
- Region, State, and City Filtering: Filter data by region, state, and city using multi-select dropdowns.
- Category-wise Sales: Display sales data categorized by product category.
- Region-wise Sales: Display sales data categorized by region.
- Time Series Analysis: Visualize sales data over time.
- Tree Map: Group sales data by region, category, and sub-category.
- Segment and Category Pie Charts: Display sales distribution by segment and category.
- Month-wise Sub-Category Sales Summary: Show sales data for sub-categories by month.
- Scatter Plot: Visualize the relationship between sales and profits.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/ChandanaGiridhar/py_interactive_dashboard.git cd py_dashboard
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install the dependencies:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run dashboard.py
- Python 3.8+
- Pandas
- Plotly
- Streamlit
- Matplotlib
Ensure that matplotlib
is included in the requirements.txt
file:
pandas==2.2.2
plotly==5.22.0
streamlit==1.36.0
matplotlib<4.0.0