Logo

Adidas Sales BI Dashboard

GitHub Repo stars GitHub forks GitHub pull requests GitHub issues

A BI dashboard desgined using AWS QuickSight by leveraging Adidas US sales data consolidated in an AWS RDS PostgreSQL database.

Project Organization

├── LICENSE                  
├── README.md              <- The top-level README for developers using this project
└──  readme-assets         <- Contains images to be used in README.md

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have a Linux/Mac/Windows machine.
  • You have installed PostgreSQL and a pgsql client like pgAdmin.
  • You have created an account on AWS and AWS Quicksight. Accounts have to be created for both separately.

NOTE: I've used AWS Free Tier to do this project.

Architecture diagram

The architecuture diagram is as follows:

alt text

A brief overview of steps to reproduce the project is as follows:

  • Download the Adidas US Sales Dataset PostgreSQL dump from data.world to your local system.
  • Create a publicly accessible AWS Relational Database Service (RDS) instance with PostgreSQL database engine, and restrict access to your personal IP address by adjusting the inbound rules in the security group.
  • Connect AWS RDS instance to pgAdmin on local system using the instance server endpoint and credentials.
  • Import the PostgreSQL dump of the Adidas sales data into a newly created empty database on AWS RDS.
  • Run filtering and analysis queries, and adjust data types as necessary (e.g. converting VARCHAR to FLOAT and INT) on the imported database table.
  • On AWS, restrict public access to the RDS instance and create 2 security groups, one for RDS and the other for QuickSight. Enable bi-directional traffic flow between the two services by modifying inbound and outbound rules in both security groups. Finally, associate the RDS security group with the RDS instance.
  • On AWS QuickSight, log in and create a VPC connection to the RDS instance for private communication. By setting up security groups on AWS and a VPC connection on QuickSight, back-and-forth communication between the two will be facilitated within the VPC.

QuickSight Dashboard

This a screenshot of the dashboard:

alt text

I'll give a brief description of each dashboard component/plot and insights gained from it:

  1. Line graph

    alt text

    The graph showcases the sales performance of various product lines from 2020 to 2021. It is evident that "Men's Street Footwear" (represented by the orange line) was the top-performing product line, while "Women's Street Footwear" (represented by the magenta line) had the lowest sales.

    alt text

    Additionally, the QuickForest algorithm, which is integrated within QuickSight, generates forecasts. The projected total sales for the month of January 2022 are estimated to be $118 million.

  2. Donut chart

    alt text

    The graph displays the distribution of total sales among retailers from 2020 to 2021. Westgear recorded the highest sales, accounting for 27% of the total, followed closely by Footlocker with 24%. On the other hand, Walmart had the smallest share, accounting for 8% of total sales.

  3. Map

    alt text

    The map illustrates the distribution of product units sold across various states. New York recorded the highest number of units sold, followed by California and Texas. Conversely, Nebraska had the lowest number of units sold.

  4. KPI

    alt text

    This key performance indicator showcases the growth in sales from 2020 to 2021. The sales in 2020 were $182 million, which rose to $718 million in 2021, resulting in an increase of $536 million.

  5. Insights auto-generated by QuickSight

    alt text

References

Acknowledgements

License

Distributed under the MIT License. See LICENSE.txt for more information.