This repository contains a Dash web application for visualizing sales and profit data based on a provided dataset. The application leverages Plotly Express for creating interactive visualizations and Dash for building the web interface. Users can explore sales and profit trends over different years, view state-wise performance, and analyze sales and profit by category.
-
Clone the repository:
git clone https://github.com/Saf2004/sales-dashboard.git
-
Navigate to the project directory:
cd sales-dashboard
-
Install the required dependencies:
pip install -r requirements.txt
-
Ensure you have Python installed on your machine.
-
Run the Dash web application:
python sales_dashboard.py
-
Open a web browser and go to http://127.0.0.1:8051/ to access the Sales Dashboard.
-
Interact with the dropdowns and sliders to explore different visualizations based on sales and profit data.
sales_dashboard.py
: The main script containing the Dash application and visualization functions.orders.csv
: The dataset used for sales and profit analysis.requirements.txt
: List of Python packages required for the project.
- Select 'Sales by State' from the dropdown menu.
- Use the slider to choose the desired year.
- View a choropleth map showing sales data for each state.
- Select 'Profit by State' from the dropdown menu.
- Use the slider to choose the desired year.
- View a choropleth map showing profit data for each state.
- Choose between 'Sales' and 'Profit' from the dropdown menu.
- Use the slider to select the desired year.
- Explore line charts depicting quarterly sales and profit trends by category.
- pandas
- plotly
- dash
- numpy
This Project is unlicensed