Skip to content
View mhkh-stock's full-sized avatar
😇
😇

Block or report mhkh-stock

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
mhkh-stock/README.md

Muhammad Hashir — animated gradient header

Typing animation: Data Analyst | Python · SQL · Power BI — I build the pipeline AND the insight

Profile views GitHub @mhkh-stock Email mhkh3200@gmail.com Open to internships and freelance work

Data Analyst · BS Computer Science, UET Peshawar · Nowshera, Pakistan
I work the full data lifecycle — ingest → store → transform → analyse → visualise → automate —
and turn messy business data into decisions a manager can act on.
Open to data analyst internships and freelance data work.

Time-based greeting from Pakistan


🌐 My Portfolio

Visit my portfolio → — who I am, what I build, my live projects, services and how to reach me. (Source code)

✨ Featured Work

Project Outcome Stack
Power BI KPI Dashboard Star-schema model + DAX measures; 1,200 orders, PKR 11.8M sales, 45.4% margin, fully explained Power BI · SQL
Messy Data Cleaning 10,000 dirty rows → 9,258 clean rows + validation report of everything fixed Python (pandas)
PDF → Excel Conversion Pipeline 5 invoices → 20-line workbook, totals reconciled to the cent Python (PyMuPDF)

💼 Services — What I Can Do For You

Service You receive Example
Dashboards One-page KPI view of your business Excel Sales Dashboard
Data cleaning Clean, usable data + a report of what was fixed Messy Data Cleaning
Scraping & lead lists Competitor prices or ready-to-call leads in Excel Price Tracker · Lead List
Automated reporting Reports that build themselves, every month Automated Monthly Report

📚 Project Library

Every project uses the same structure, so anything here can be picked up and run in minutes: README (business question → key findings) · data/ · src/ (pipeline + data-quality checks) · sql/ · dashboard/ · outputs/ (one-page summary).

🏆 Flagship Projects — in build order

# Project Business question it answers Tools Status
1 E-commerce Revenue, Cohort & Churn Analysis Where does revenue leak, which customers stay, and what are they worth? SQL (PostgreSQL) · Python · Power BI 🔨 Building — live 27 Nov 2026
2 Sales Forecasting & Demand Planning What will next quarter sell, and where will we over/under-stock? Python (time series) · Streamlit 📅 Dec 2026
3 Marketing Funnel & A/B Test Analysis Which channel brings customers who actually stay — and did the test really win? SQL · Python (statistics) · BI 📅 Jan 2027
4 Job Market Intelligence Pipeline Which data skills are employers asking for this month? (self-updating ETL) Python ETL · SQL database · Streamlit 📅 Feb 2027
5 Customer Churn Prediction Who is about to leave, why, and what offer saves them? Python ML · SHAP · Streamlit 📅 Mar 2027
6 Financial Fraud & Risk Detection (capstone) Which transactions are fraud — and what does a miss cost vs. a false alarm? Python ML · SQL · Dashboard 📅 Apr 2027

💼 Paid / Client-Style Projects — live repos

Project Deliverable Tools Repo
Excel Sales Dashboard for a retail shop One-page KPI workbook — pivots, slicers, print-ready Excel p1-excel-sales-dashboard
Messy Data Cleaning 10,000 dirty rows → clean file + validation report Python (pandas) p2-messy-data-cleaning
Power BI KPI Dashboard Star-schema model + DAX measures + build guide Power BI · SQL p3-powerbi-kpi-dashboard
E-commerce Price Tracker Price-history database + comparison sheet Python · SQLite p4-ecommerce-price-tracker
Google Maps Lead List 74 Gulberg, Lahore leads from OpenStreetMap Python · SQLite p5-google-maps-lead-list
PDF → Excel Conversion Pipeline 5 invoices → 20-line workbook, totals reconciled Python (PyMuPDF) p6-pdf-to-excel-conversion
Automated Monthly Report Live-formula report + Google Sheets automation, 560 SAMPLE lines Excel · Google Apps Script p7-automated-monthly-report
Inventory & Stock Tracker Inventory tracker workbook - stock levels, reorder flags, SAMPLE data Excel, Python p8-inventory-stock-tracker
Instagram Business Analytics Report 90-day engagement audit - reach, engagement rate by format, top posts, actions Python, PDF p9-instagram-analytics-report
Food-Delivery Sales Analysis Power BI dashboard + 2-page best-sellers report, 1,800 SAMPLE orders Power BI · SQL · Python p10-food-delivery-sales-analysis
HR Attendance & Payroll Dashboard 24-employee attendance + payroll workbook, live formulas, 64 checks Excel · Python p11-hr-attendance-payroll-dashboard
Real-Estate Listings Scraper + Price Analysis 16 scraped listings → area price analysis + live-formula dashboard workbook Python · SQLite · Excel p12-real-estate-listings-scraper
Data Quality Audit Pack 1,524-row audit — 300 defects found, fixed file + 10 SQL checks to keep Python · SQL · SQLite · Excel p13-data-quality-audit-pack
RFM Customer Segmentation Report 500 customers → 7 RFM segments, PKR 3.12M revenue at stake, live-formula workbook Python · SQL · SQLite · Excel p14-rfm-customer-segmentation
Sales Forecast Pack 6-month forecast + what-if sheet from 22 months of SAMPLE history, MAPE 4.82% Python · SQL · SQLite · Excel p15-sales-forecast-pack
Google Sheets Automation Pack Apps Script builds the weekly report itself — SUMIFS, Monday 08:00 trigger, email summary, 295 SAMPLE lines Google Apps Script · SQL · Excel p16-google-sheets-automation
Website Traffic & Conversion Report GA4-style channels, landing pages, devices + funnel — 202,793 SAMPLE sessions, PKR 12.91M revenue, add-to-cart leak 12.07% Python · SQL · SQLite · Excel p17-website-traffic-conversion-report
Customer Review Sentiment Analysis 780 SAMPLE reviews → sentiment by product + channel, lexicon scoring, 2-page report + live-formula workbook Python · SQL · SQLite · Excel p18-customer-review-sentiment-analysis
Supplier / Vendor Performance Report 240 SAMPLE POs → on-time, quality, cost + lead-time scorecard, 12 suppliers, PKR 17.04M spend Python · Excel p19-supplier-vendor-performance-report
Customer Feedback Survey Analysis 350 SAMPLE responses → NPS 16.29, driver analysis (delivery speed first), branch + channel breakdown, 2-page report + live-formula workbook Python · Excel p20-customer-feedback-survey-analysis
E-commerce Returns & Refunds Analysis 1,200 SAMPLE orders → 18.08% return rate, PKR 616,028 money lost, wrong size top reason, Fashion worst category, 2-page report + live-formula workbook Python · Excel p21-ecommerce-returns-refunds-analysis
Sales Pipeline / CRM Dashboard 156 SAMPLE deals → pipeline PKR 117.18M, win rate 34.78%, July forecast PKR 13.08M, rep leaderboard + biggest leak, 2-page report + live-formula workbook Python · Excel p22-sales-pipeline-crm-dashboard
Marketing Campaign ROI Tracker 12 SAMPLE campaigns → spend PKR 5.69M vs revenue PKR 17.13M, ROAS 3.01x, kill/scale calls, 2-page report + live-formula workbook Python · Excel p23-marketing-campaign-roi-tracker
Data Warehouse Starter Pack 3 SAMPLE CSVs → star schema + dbt-style SQL models + 16 DQ tests, sales gross PKR 27.21M, margin 8.60%, stock PKR 7.72M, health workbook SQL · Python · Excel p24-data-warehouse-starter-pack
Databricks-Style Medallion Lakehouse Starter Pack 3 SAMPLE CSVs → bronze → silver → gold medallion lakehouse + 16 DQ tests, sales gross PKR 16.16M, margin 9.44%, inventory PKR 3.87M, health workbook + handover PDF SQL · Python · Excel p25-databricks-style-lakehouse-pack
Process Improvement / Ops Efficiency Dashboard 311 SAMPLE orders → bottleneck Printing +27.23% over plan, defect rate 3.63% vs 2.00% target, quality cost PKR 121,914, saving PKR 7.16M if fixed, 2-page report + live-formula workbook SQL · Python · Excel p26-process-improvement-ops-efficiency-dashboard
E-commerce Catalogue Extraction Pack 147 live-scraped products (Laptops 117, Tablets 21, Touch 9) → catalogue value $114,877.78, mean price $781.48, avg rating 2.37, 0 price outliers, 2-page report + live-formula workbook Python · SQL · SQLite · Excel p27-ecommerce-catalogue-extraction-pack
Automated Pipeline + Power BI Dashboard Pack 30 daily SAMPLE CSVs → star schema with SHA-256 load log, 2,094 orders, PKR 38,573,539.50, 14 DQ tests, 12 DAX measures, 2-page report + live-formula workbook Python · SQL · SQLite · Power BI · Excel p28-automated-pipeline-powerbi-dashboard-pack
Data Migration Readiness Audit Legacy billing → cloud ERP, 810 SAMPLE rows → 676 migrated, 134 quarantined, money reconciled to the paisa (PKR 16.67M), CONDITIONAL GO with 5 cutover conditions, lineage doc + live-formula workbook SQL · Python · Excel p29-data-migration-readiness-audit

🎓 Internship Work — Arch Technologies, Data Science (Month 1)

Project What I did Tools Repo
Titanic Survival Classification Kaggle data, 891 passengers — Logistic Regression 85.5% accuracy, ROC-AUC 0.876 Python · scikit-learn titanic-survival-classification
Apple Stock Price Prediction AAPL daily prices 2020–2026, 1,726 days — honest result: a simple baseline beats both models Python · scikit-learn · yfinance aapl-stock-price-prediction

🎓 University Team Project — Agri-Grid (UET)

Project My role What it is Repo
Agri-Grid QA & DevOps Engineer Smart agriculture platform — decentralized farm data; testing lead, all suites passed on a fresh database, testing documentation (team project — Ameer Muawiyah is Scrum Master) AgriGrid

🌐 Live Web Applications — full-stack products

Complete, working websites — not demos. Each one runs on Node.js + SQLite with zero dependencies, has its own public code, and a live site where one is available, and solves a real Pakistan-specific gap (no equivalent structured, verified directory exists for any of them).

Project What it does Stack Repo Live
Mandi Price Intelligence Daily mandi rates for 168 districts across Pakistan — province → district → fruits / vegetables, Urdu units (کلو / درجن), overcharge checker, daily auto-refresh from AMIS Pakistan, district rate-admins, grounded rate chat Node.js · SQLite mandi-price-intelligence Live site (v3.3 live)
Bijli Map Role-based load-shedding schedules for 168 districts — government admins publish official schedules per district + grid; public login with Gmail + CNIC district check, see only your own district and grid Node.js · SQLite bijli-map Live site (v2.0 live — private admin codes live)
My Mehngai Index Personal basket inflation vs the official PBS weekly SPI — 51-item tracker, quintile table, spending-weighted personal inflation Node.js · SQLite mehngai-index Code complete — live deploy pending a free hosting slot
Salary Reality Index Anonymous salary reports with admin approval, medians by role / city / experience, plus published reference figures with source and sample size Node.js · SQLite salary-reality-index Code complete — live deploy pending a free hosting slot
Hostel + Mess Index Verified vs listed hostel rents + mess rates by university area, price history on every change, monthly total calculator Node.js · SQLite hostel-mess-index Code complete — live deploy pending a free hosting slot
Loan Payback Calculator What a loan from a Pakistani app really costs — 51 presets across banks, wallets, BNPL and licensed nano apps, late fees over time Node.js · SQLite loan-payback-calculator Live site (live on GitHub Pages)
Ghar ka Register One private, PIN-locked home book for a Pakistani household — staff pay and advances, daily deliveries, money lent and borrowed, bill due dates, documents and their expiry, and the medicine cabinet — free, open-source, local-first, nothing ever leaves the device Node.js · SQLite ghar-ka-register Code complete — live deploy pending a free hosting slot
Ciral Pakistani e-commerce store + admin — products, cart, COD / bank / JazzCash / Easypaisa, admin panel Node.js · SQLite ciral-ecommerce Live site (v3.0.1 live)
FoodScope Pakistani food-vendor directory — search, category / city filters, menus in PKR, gallery, ratings, reviews Node.js · SQLite foodscope Live site (v2 live)
Kiraya Register Owner + tenant rent book — house codes, monthly bills, paid-bill photo proof, receipts, WhatsApp-like chat Node.js · SQLite kiraya-register Code complete — live deploy pending a free hosting slot

📊 Mini Skill Packs — live repos

Pack What it proves Repo
SQL Window Functions RANK, ROW_NUMBER, LAG, NTILE, moving windows mini1-sql-window-functions
Excel Budget & Expense Tracker Live-formula workbook, overspend flags that work mini2-excel-budget-tracker
SQL CTEs & Joins Anti-joins, month spines, CTE join-backs, self-joins mini3-sql-cte-joins
SQL Data Quality Checks 10 DQ checks, 13 planted defects found exactly (SQL · SQLite) mini4-sql-data-quality-checks
Statistics & A/B Testing Conversion rates, z-test, 95% CI, SRM check mini5-statistics-ab-testing
Excel Advanced Formulas & Lookups XLOOKUP, INDEX+MATCH, VLOOKUP, SUMIFS, IFS - 10 live-formula techniques mini6-excel-formulas-lookups
Python ETL: API → SQLite Live weather API → SQLite, 6 Pakistani cities, 16 DQ checks mini7-python-etl-api-sqlite
SQL Date & Time Analysis MoM/YoY growth, running totals, weekday seasonality, aging buckets mini8-sql-date-time-analysis
Power BI One-Pager: Gym Membership Star-schema model + 9 DAX measures + build guide, 60 members, PKR 1.56M revenue mini9-powerbi-gym-one-pager
SQL Subqueries & EXISTS Scalar, correlated, IN, EXISTS/NOT EXISTS — 10 business queries, 30 checks mini10-sql-subqueries-exists
Excel Pivot Tables & Charts 10 pivot techniques + 3 native charts on one SAMPLE shop, PKR 346,800 mini11-excel-pivot-tables-charts
Statistics — Correlation & Regression Pearson/Spearman + 2 OLS regressions, 24 months SAMPLE data, R² 0.74 mini12-statistics-correlation-regression
Python pandas Data Cleaning 10 cleaning techniques before/after — 131 messy rows → 114 clean, 73 cells fixed mini13-python-pandas-data-cleaning
Power BI One-Pager: Hotel Booking & Revenue Star-schema model + 11 DAX measures + build guide, 598 bookings, PKR 18.13M revenue mini14-powerbi-hotel-one-pager
SQL Advanced Patterns Recursive CTEs, gaps-and-islands, window frames, LAG, NTILE, pivots, set ops — 10 queries, 59 checks mini15-sql-advanced-patterns
SQL Data Modelling & Star Schema Grain statement, SCD Type 2 price history, conformed dimensions, star joins — 10 queries, 68 checks mini16-sql-data-modelling-star-schema
Excel What-If & Scenario Analysis Goal Seek, 1-var + 2-var data tables, 3 scenarios, break-even — pricing decision on one SAMPLE product, 181 checks mini17-excel-whatif-scenario-analysis
Python ETL #2 — Public API → SQLite DummyJSON catalogue → SQLite star-lite schema, 194 products, 10 analysis queries, 58 checks mini18-python-etl-api-sqlite-2
Python pandas GroupBy, Pivot & Aggregation 10 aggregation techniques — groupby, pivot tables, crosstabs, Pareto — 1,000 SAMPLE lines, PKR 39.94M, 341 checks mini19-python-pandas-groupby-pivot
SQL Data Lineage & Audit Trail 10 lineage/audit queries — impact analysis, orphans, dead tables, lying audit row — 4 systems → 6 reports, 98 checks mini20-sql-data-lineage-audit-trail
Python pandas Time Series & Resampling 10 time-series techniques — resample, rolling averages, seasonality, decomposition, CAGR, naive forecasts — 1,096 SAMPLE days, PKR 309.42M, 652 checks mini21-python-pandas-time-series
Python pandas Merging, Joining & Lookup 10 join techniques — inner/left/outer, multi-key, indicator, concat, map lookup, merge_asof, self-join, cross-join guard — 32 SAMPLE orders, PKR 346,800, 515 checks mini22-python-pandas-merging-joining
Python Data Visualisation 10 chart techniques — line, bar, grouped bar, histogram, box plot, scatter, heatmap, pairplot, dual-axis, small multiples — 32 SAMPLE orders, PKR 346,800, 361 checks mini23-python-data-visualisation
SQL Data Transformation 10 transformation techniques — CASE, CAST, string/date cleaning, NULL rules, ROW_NUMBER dedup, CASE pivot, conditional aggregation, code splitting, full bronze→silver pipeline — 32 SAMPLE orders, PKR 346,800, 206 checks mini24-sql-data-transformation
Data Storytelling & Executive Summary 10 storytelling techniques — headline numbers, honest caveats, misleading framings corrected, 60-second brief — 1,023 SAMPLE lines, net PKR 8.56M, Q2 +52.18% with margin −7.61 pts, 319 checks mini25-data-storytelling-executive-summary

🐍 Foundations

Project What it shows Tools Repo
Exploratory Data Analysis — Palmer Penguins Question-first EDA: cleaning checks, statistics, honest findings Python · pandas · SciPy Exploratory-Data-Analysis
Data Visualization — Palmer Penguins Decision-oriented charts, each answering one question Python · Matplotlib · Seaborn penguins-data-visualization

🧰 What I Work With

Python, PostgreSQL, MySQL, SQLite, Git, GitHub

Languages · Python, SQL Ingestion · REST APIs, web scraping (requests / BeautifulSoup), PDF & Excel extraction Storage · PostgreSQL, SQLite, MySQL Transform · pandas, NumPy, SQL (CTEs, window functions), Power Query Analysis & ML · Statistics & A/B testing, scikit-learn (building), Matplotlib, Seaborn BI & Apps · Power BI, Excel, Tableau Public, Streamlit, Google Sheets Workflow · Git, GitHub, Jupyter, scheduled automation, data-quality checks as code


📊 GitHub Stats

GitHub stats: repositories, stars, followers, commits Repositories per language


🐍 Contribution Snake

Animated contribution snake


🔨 Currently Building

  • Flagship 1 — E-commerce Revenue, Cohort & Churn (real Olist data loaded: 112,650 rows; Phase C RFM + churn done 7 Nov 2026 — 69.99% churned, 617 at-risk repeat buyers; Phase D validation done 8 Nov 2026 — all 11 headlines reconcile three ways; live 27 Nov 2026).
  • Next: Mandi Price Intelligence v3.3 is live and Bijli Map v2.0 is live. Loan Payback Calculator is live on GitHub Pages. Ghar ka Register, Mehngai / Salary / Hostel deploy as soon as a hosting slot frees up.

📫 Contact

Email GitHub LinkedIn Fiverr

Open to data analyst internships and freelance data work — dashboards, data cleaning, scraping, and automated reporting.

Animated gradient footer wave

Pinned Loading

  1. p3-powerbi-kpi-dashboard p3-powerbi-kpi-dashboard Public

    Power BI KPI dashboard model with DAX measures (SAMPLE)

    Python

  2. p2-messy-data-cleaning p2-messy-data-cleaning Public

    Messy data cleaning: 10,000 dirty rows to a clean file plus validation report (SAMPLE)

    Python

  3. loan-payback-calculator loan-payback-calculator Public

    Loan Payback Calculator — what a loan from a Pakistani app really costs: pick the loan, enter the amount, see the total payback, the increase, and the late fees over time.

    JavaScript

  4. mandi-price-intelligence mandi-price-intelligence Public

    Daily mandi rates for 168 districts across Pakistan — Urdu units, overcharge checker, AMIS auto-refresh.

    JavaScript

  5. p21-ecommerce-returns-refunds-analysis p21-ecommerce-returns-refunds-analysis Public

    E-commerce Returns & Refunds Analysis — return reasons, rates by product/channel, money lost + what to fix (SAMPLE data, PakBazaar Jan–Jun 2026)

    Python

  6. titanic-survival-classification titanic-survival-classification Public

    Arch Technologies Data Science Internship Month 1, Task 1 — Titanic survival classification with logistic regression and random forest (Kaggle data, 891 passengers).

    Python