Repository navigation
Commit 6f8d49f
committed
Redesign the executive dashboard as a cross-filterable BI report
Replace the single make_subplots canvas with a card-based HTML page: one
Plotly figure per visual, so spacing, titles and margins are per-chart
instead of shared across the whole figure.
- 8 KPI cards (revenue, profit, orders, customers, products, AOV, margin,
cities) that recalculate with the active filter set
- Filters for year, month, category, brand, payment, gender, status and
city: the Gold fact rows ship as base64 typed arrays and are
re-aggregated in the browser on every change (~70ms over 143k rows)
- Replace both donuts with horizontal bars; order status uses semantic
colours with always-visible labels
- Coordinated metric palette (revenue green, profit blue, quantity orange,
orders purple) checked for contrast and colour-vision separation, with a
matching dark theme
- Proper date axis on the trend charts instead of numeric YearMonth
- Drop legends, keep the metric switch as the single source of truth
- Clean dimension attributes in Spark (strip HTML tags and emoji, null out
NULL/Unknown/N-A placeholders) and join dimensions with left joins, so a
row with an unresolved attribute still counts toward revenue and only
drops out of that one breakdown; unresolved counts shown in the footer
- CSV export of the current selection, Plotly logo and lasso/select removed
Dashboard renders to dashboards/executive_dashboard.html and docs/index.html.1 parent e22aa7a commit 6f8d49f
6 files changed
Lines changed: 4638 additions & 127 deletions
File tree
- dashboards
- assets
- docs
- spark
0 commit comments