walmart-sales-analyzer
Overviewâ
walmart-sales-analyzer is a built-in analysis skill for Walmart sales datasets.
It focuses on trends between weekly sales and unemployment rates, then packages the findings into a business-facing HTML report.
Repo pathâ
skills/walmart-sales-analyzer/
âââ SKILL.md
âââ scripts/
â âââ generate_html_report.py
â âââ generate_correlation_heatmap.py
â âââ generate_sales_unemployment_scatter.py
â âââ generate_time_series_trend.py
â âââ generate_store_avg_comparison.py
â âââ font_setup.py
âââ templates/
âââ report_template.html
When to use itâ
- analyze Walmart sales CSV data
- explore sales vs unemployment relationships
- generate comparison charts and trends
- render a polished business HTML report
Core workflowâ
- Validate that the uploaded file contains Walmart sales data.
- Run
generate_html_report.pyor the related chart scripts. - Pass the analysis text and titles into
html_interpreter. - Render the final report with the bundled template.
Important resourcesâ
| Resource | Purpose |
|---|---|
scripts/generate_html_report.py | End-to-end report generation entry point |
scripts/generate_correlation_heatmap.py | Correlation analysis chart |
scripts/generate_sales_unemployment_scatter.py | Sales vs unemployment regression chart |
scripts/generate_time_series_trend.py | Store trend tracking |
scripts/generate_store_avg_comparison.py | Average store comparison |
templates/report_template.html | Final responsive report template |
Output expectationsâ
This skill emphasizes:
- visual trend explanation
- business interpretation
- regional and store comparison
- executive summary and recommendations