E-commerce businesses generate large volumes of transactional and customer data, but often lack clear visibility into:
- Revenue trends and growth drivers
- Customer distribution and regional performance
- Operational efficiency (e.g., delivery performance)
Without proper analysis, this limits the ability to optimise growth, logistics, and market expansion.
Analyse e-commerce data to:
- Identify revenue growth trends
- Understand customer and regional distribution
- Evaluate logistics performance
- Support data-driven business and operational decisions
This project combines SQL, Python, and Power BI to deliver a complete analytics workflow from raw data to business insights.
Key components:
- Data extraction and transformation using SQL
- Data analysis and visualisation in Python
- Interactive Power BI dashboard for business monitoring
- SQL (MySQL) – data extraction and joins
- Python (Pandas, Matplotlib, Seaborn) – analysis and visualisation
- Power BI – dashboard and KPI tracking
- Git & GitHub – version control
For security reasons, database credentials are not stored in the code. To run this project locally, you must:
- Create a file named
.envin the root folder. - Add your MySQL credentials to the file:
DB_USER=your_username
DB_PASS=your_password
DB_HOST=localhost
DB_NAME=ecommerce_project
Olist Brazilian E-Commerce Public Dataset ~100k orders (2016–2018) Download the Dataset on Kaggle
The dashboard provides an executive view of e-commerce performance.
- Total Revenue
- Orders Volume
- Delivery Performance
- Regional Sales Distribution
-
Revenue Growth:
Revenue increased by 137% in 2017, indicating rapid business expansion -
Regional Dependency:
São Paulo accounts for ~42% of revenue, highlighting strong regional concentration and potential expansion opportunities -
Logistics Improvement:
Delivery times improved by 15% in Q3 2018, suggesting operational efficiency gains
This analysis enables:
- Identification of growth opportunities across regions
- Better logistics and delivery optimisation
- Improved strategic planning based on sales trends
- Support for expansion and market diversification decisions
- Clone repository
- Run SQL queries
- Execute Python scripts
- Open Power BI dashboard


