- Technologies Used
- Description
- Demo
- Using Docker
- Installation
- Usage
- Project Structure
- Contact me
- Licence
This dataset contains household level transactions over two years from a group of 2,500 households who are frequent shoppers at a retailer. For certain households, demographic information as well as direct marketing contact history are included. The objective of this dashboard is to present relevant metrics about the financials of the stores, the demographic distribution of the customers and other key metrics. Multiple updates could be made to study the results of several marketing campaigns and product displays.
-
- A python Notebook for the data management and creation of new metrics/columns
- The streamlit app has 5 pages:
- 👋 Dataset Presentation
- 🔍 Data Exploration
- 🏠 Demographic Data
- 📦 Product_Data
- 🧮 Sales Data
Dataset Presentation |
---|
Data Exploration |
---|
Demographic Data |
---|
Product Presence | Product Sales |
---|---|
General Sales | Sales By Demographic | Customer Acqiosition |
---|---|---|
The app demo is hosted & available on the following link: Demo Link
To pull the Docker image from Docker Hub, run the following command:
# Pull the docker image
$ docker pull medkallel/dunhumby-the-complete-journey-dashboard:latest
If you prefer to build the Docker image locally, navigate to the project directory and run:
# Build the docker image
$ docker build -t dunhumby-the-complete-journey-dashboard .
To run the Docker container, use the following command:
# Run the docker container
$ docker run -p 8501:8501 dunhumby-the-complete-journey-dashboard
Tip
You can access the app on another device by following the link: http://<server-ip>:8501
Important
The project was done on Python 3.11.6
To run this project locally, follow these steps:
- Clone the repository:
# Clone the repository
$ git clone https://github.com/Medkallel/Dunhumby-The-complete-Journey-Dashboard
# Navigate into the directory
$ cd Dunhumby-The-complete-Journey-Dashboard
- Install the required dependencies:
# Install the requirements
$ pip install -r requirements.txt
# Run the Streamlit app
$ streamlit run Src/Streamlit/1_👋_Dataset_Presentation.py
Tip
You can access the app on another device by following the link: http://<server-ip>:8501
Here's a visual representation of the structure:
📦Project
┣ 📁.github/workflows
┃ ┗ 🦑github-docker-cicd.yaml # Used for the CI/CD pipeline
┣ 📁.streamlit/
┃ ┗ 📄config.toml
┣ 📁Assets/
┃ ┣ 🖼️ banner.jpg
┃ ┗ 🖼️ WordCloudMask.png
┣ 📁Data/ # Contains the dataset
┣ 📁Export/ # Contains the processed dataset
┣ 📁Doc/
┃ ┣ 📄dataset_description.json
┃ ┗ 📄dunnhumby - The Complete Journey User Guide.pdf
┣ 📁Src/
┃ ┣ 🐍Data_Exploration-Preprocessing.ipynb
┃ ┗ 📁Streamlit/
┃ ┣ 🐍1_👋_Dataset_Presentation.py
┃ ┣ 🐍config.py
┃ ┣ 🐍display_graph.py
┃ ┣📁pages/
┃ ┣ 🐍2_🔍_Data Exploration.py
┃ ┣ 🐍3_🏠_Demographic Data.py
┃ ┣ 🐍4_📦_Product_Data.py
┃ ┗ 🐍5_🧮_Sales_Data.py
┣ 🐳Dockerfile
┣ 📄README.md
┗ 📄requirements.txt
This project is under the CC BY-NC 4.0 Licence. Check the licence file for more info.