fix(superset): заменена нечитаемая гео-карта

- Зачем:
  - гео-блок дашборда должен показывать понятную метрику, единицы и сравнение стран.
- Что:
  - legacy world_map заменён на столбцы Top Countries by Events с tooltip и легендой.
  - синхронизирован экспорт дашборда и добавлены контрактные тесты.
  - обновлены документы и урок Superset по новому гео-блоку.
- Проверка:
  - uv run --with pytest pytest tests/test_superset_dashboard_config.py.
  - uv run python -m py_compile superset/create_dashboard.py tests/test_superset_dashboard_config.py.
  - jq empty superset/dashboards/ecommerce_analytics.zip.json.
This commit is contained in:
2026-07-04 22:05:56 +03:00
parent 0f435d70fd
commit 0c80e2438e
5 changed files with 389 additions and 78 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ http://localhost:8088/superset/dashboard/ecommerce-analytics/
- KPI сверху: `Total Events`, `Unique Users`, `Avg Events/Visit`,
`Conversion to /confirmation`;
- динамика: `Events over Time`, `Traffic by Device`;
- география: `Geography Map`;
- география: `Top Countries by Events`;
- маркетинг: `UTM Effectiveness Table`, `Page Funnel`;
- прохождение строк по слоям: `Rows by Layer (event)`.