waqarg2001 / Amazon-Sales-Data-Analysis

In this project ETL and Analysis is performed on Amazon Sales Data in notebook and Tableau. The raw data consisted of 5 files which was transformed into one Excel file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Application of ETL process on raw Aamazon sales data along with its analysis using Jupyter Notebook and Tableau for a dashboard.

built-with-love powered-by-coffee cc-nc-sa

OverviewToolsArchitectureDemoSupportLicense

Overview

Amazon is the world's largest eCommerce website. It was originally launched as a book-selling website and sold its first book in 1995.

This project involves Extract Transform Load(ETL) process on fictious raw sales data of Amazon. Exploratory Data Analysis(EDA) is performed on it using Jupyter Notebook to extract key insights about the sales and later on an executive's sales dashbaord is produced using Tableau.

The repository directory structure is as follows:

├── LICENSE 
├── README.md          <- The top-level README for developers using this project. 
| 
├── run.py             <- Python script to start ETL process. 
| 
├── data
│   ├── interim        <- Intermediate data that has been transformed using ETL process.
│   ├── processed      <- The final, canonical data set for analysis.
│   └── raw            <- The original, immutable data dump. 
│ 
│ 
│ 
├── notebooks          <- Jupyter notebooks. Naming convention is a number (for ordering),
│                         the creator's initials, and a short `-` delimited description, e.g.
│                         `1.0-mwg-initial-data-exploration`. 
│
│ 
├── requirements.txt   <- The requirements file for reproducing the analysis environment, e.g.
│                         generated with `pip freeze > requirements.txt` 
| 
│ 
├── src                <- Source code for use in this project. 
│   ├── __init__.py    <- Makes src a Python module. 
│   │ 
│   ├── data           <- Scripts to perform ETL. 
│       ├── make_dataset.py 
|       └── multiple_files_to_single_excel_file.py 
| 
| 
├── dashboard          <- Dashboard created using transformed data. 
|   └── Sales Dashboard.twbx 
| 
├── resources          <- Resources for this readme file. 

Tools

To build this project, following tools and packages were used:

  • Python
  • Python packages mentioned in requirements.txt.
  • PyCharm
  • Github
  • Jupyter Notebook
  • Tableau Desktop

Architecture

The architecture of this project is straightforward which can be understood by the following diagram.

According to the diagram we first create a python script which performs ETL for us on the raw dataset. The output of this process is clean data which is then used for exploratory analysis in jupyter Notebook and to create a dashboard in Python.

Demo

The figure below shows a snapshot of ETL process being conducted through terminal. Type run.py (raw data directory). In my case I typed run.py data/raw. (figure may take few seconds to load)

The following dashboard was created on Tableau.

Support

If you have any doubts, queries or, suggestions then, please connect with me on any of the following platforms:

Linkedin Badge Gmail Badge

License

by-nc-sa

This license allows reusers to distribute, remix, adapt, and build upon the material in any medium or format for noncommercial purposes only, and only so long as attribution is given to the creator. If you remix, adapt, or build upon the material, you must license the modified material under identical terms.

About

In this project ETL and Analysis is performed on Amazon Sales Data in notebook and Tableau. The raw data consisted of 5 files which was transformed into one Excel file.

License:MIT License


Languages

Language:Jupyter Notebook 98.5%Language:Python 1.5%