Skip to content

Project to create a sales dashboard to improve learning of data visualization, dashboard making process and dash library

License

Notifications You must be signed in to change notification settings

JhonesBR/sales-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sales Dashboard

Interactive Sales Dashboard using Dash for visualization.

 

Setting Up

1. [Optional] Create a enviroment

With conda

conda create --name sales-dashboard python=3.10.8
y
conda activate sales-dashboard

With venv

py -m venv venv

# On linux
./venv/Scripts/activate

# On Windows
cd venv/Scripts
activate

2. Install the requirements using pip

pip install -r requirements.txt

3. Download dataset

Since "sales.csv" is too big to be uploaded on GiHub you can download it here. It's the "train.csv", just rename it

 

Running

To view the dashboard from the Dash server, simply execute "dashboard.py"

The app will start at http://127.0.0.1:8050

 

Repository description

├─── images --> (images used in README.md)
├─── assets --> (style for Dash)
├─── data --> (csv files directory)
│    ├─── holidays_events.csv --> (Holidays data)
│    ├─── oil.csv --> (Price of oil in some dates)
│    ├─── sales.csv --> (Sales data)
│    └─── stores.csv --> (Stores data)
├─── processing.py --> (Functions to process data)
├─── charts.py --> (Chart generation functions)
└─── dashboard.py --> (Main file that starts the dashboard)

 

Credits

All rights reserved to João Vitor Oliveira de Melo (JhonesBR on github)

About

Project to create a sales dashboard to improve learning of data visualization, dashboard making process and dash library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published