Overview
Built an interactive analytics dashboard that answers the critical business question: "Where is our money coming from, and what's killing growth?"
This isn't just static charts ā it's a fully functional dashboard with real-time data visualization, interactive charts, and actionable insights that hiring managers can actually explore.
š Live Dashboard
View Live Dashboard
What you'll see:
- 6 interactive KPI cards with trends
- Revenue trend chart with hover tooltips
- Top products analysis (Pareto visualization)
- Category performance comparison (H1 vs H2 2024)
- Return rate analysis by category
- Regional revenue distribution
š Sample Visualizations
Revenue Trend Analysis

The live dashboard features an interactive area chart with 3-month rolling averages and detailed tooltips showing exact values on hover.
Top Products (Pareto Analysis)

Interactive bar chart color-coded by category. Hover to see exact revenue figures and category breakdowns.
Category Performance Comparison

Side-by-side comparison of H1 vs H2 2024 with percentage change indicators. The dashboard version updates dynamically.
š ļø Technical Stack
| Layer | Technology |
|---|---|
| Frontend | Next.js 14 + React + TypeScript |
| Styling | Tailwind CSS + Framer Motion |
| Charts | Recharts (interactive) |
| Icons | Lucide React |
| Data Processing | Python + Pandas |
| Data Source | 2,500 synthetic sales records |
š” Key Features
Interactive Elements
- Hover tooltips on all charts showing exact values
- Animated transitions using Framer Motion
- Responsive design works on all screen sizes
- Dark theme with gradient accents
Business Insights Generated
- Pareto Principle ā Top 3 products drive 40%+ of revenue
- Growth Opportunities ā Home & Kitchen shows strongest H2 growth
- Risk Areas ā Sports category has highest return rate (11.7%)
Data Pipeline
Python/Pandas ā JSON Export ā Next.js Dashboard
ā ā ā
Data Cleaning API Response Interactive UI
Aggregation Static Data Real Chartsš Business Metrics Tracked
| Metric | Value | Insight |
|---|---|---|
| Total Revenue | ā¹15.4M | 24-month period |
| Total Orders | 2,500 | Average order value: ā¹6,152 |
| Active Customers | 2,461 | 98% retention rate |
| Return Rate | 7.1% | Below industry average (8%) |
| Top Product | Smart Watch Series X | ā¹3.7M revenue |
šÆ What Hiring Managers See
When they click from your portfolio:
- Immediate Visual Impact ā Dark, modern dashboard with animated KPIs
- Interactive Exploration ā They can hover on charts to see real data
- Business Thinking ā Clear insights backed by data
- Technical Depth ā Full stack from Python data processing to React visualization
- Production Quality ā Clean code, responsive design, proper UX
š Project Structure
ecommerce-analysis/
āāā app/ecommerce-dashboard/ # Next.js dashboard page
ā āāā page.tsx # Main dashboard component
ā āāā dashboard_data.json # Processed data
āāā data/
ā āāā raw/sales.csv # 2,500+ synthetic records
ā āāā generate_sample_data.py # Data generation script
āāā notebooks/
ā āāā ecommerce_analysis.ipynb # Python analysis
āāā charts/ # Static chart exports
ā āāā sales_trend.png
ā āāā top_products.png
ā āāā category_comparison.png
āāā slides/
ā āāā presentation.txt # Executive summary
āāā README.md
āāā requirements.txtš Run It Yourself
# Clone the repository
git clone https://github.com/Swethavenk79/ecommerce-analysis.git
cd ecommerce-analysis
# Generate data
pip install -r requirements.txt
python data/generate_sample_data.py
# Or view the dashboard in the portfolio
cd /path/to/portfolio
npm install
npm run dev
# Visit: http://localhost:3000/ecommerce-dashboard⨠Skills Demonstrated
- Data Engineering ā Python data generation, cleaning, aggregation
- Frontend Development ā Next.js, React, TypeScript
- Data Visualization ā Interactive charts with Recharts
- UI/UX Design ā Modern dark theme, animations, responsive layout
- Business Analysis ā Pareto analysis, trend detection, actionable insights
- Full-Stack Integration ā Connecting data processing to presentation layer
This isn't just a GitHub repo ā it's a product that hiring managers can interact with.