How jpee1420/map works
This is a Vue-based Philippine statistics dashboard. Users import spreadsheet/CSV data or public Google Sheets, configure filters and pivot fields, then explore results in interactive maps, charts, and tables and export them. The graph captures the documented import, analysis, mapping, and export capabilities. Some component relationships are supported by the SOURCE INDEX rather than full excerpts; unsampled implementation details are not inferred.
Main entry points: TabContainer.vue Tab container · App.vue App shell · dataStore.ts Dataset state · EChartsMap.vue Interactive map
Components 24
Dashboard shell
- App shell
src/App.vue - App header
src/components/layout/AppHeader.vue - Sidebar navigation
src/components/layout/Sidebar.vue
Data and state
- Dataset state
src/stores/dataStore.ts - File parser
src/utils/dataParser.ts - Sheets import UI
src/components/common/GoogleSheetsImport.vue - Sheets fetch and parse
src/utils/googleSheetsParser.ts - Tab and UI state
src/stores/uiStore.ts - Map state and boundaries
src/stores/mapStore.ts
Analysis controls
- Filter controls
src/components/panels/FilterPanel.vue - Pivot controls
src/components/panels/PivotFieldsPanel.vue - Map controls
src/components/panels/MapViewControls.vue - Filter and aggregate data
src/composables/useChartData.ts
Visualization and export
- Tab container
src/components/layout/TabContainer.vue - Interactive map
src/components/charts/EChartsMap.vue - Map callouts
src/components/charts/CalloutLayer.vue - Charts
src/components/charts/EChartsGeneric.vue - Data table
src/components/charts/DataTable.vue - Chart and data export
src/utils/chartExport.ts - Region GeoJSON
public/geojson/phl_admbnda_adm1_psa_namria_20231106.json - Province GeoJSON
public/geojson/phl_admbnda_adm2_psa_namria_20231106.json - City GeoJSON
public/geojson/phl_admbnda_adm3_psa_namria_20231106.json
Other components
- Dashboard user
- Google Sheets
Connections 37
- Dashboard user → App shell: uses
README.md - App shell → App header: renders
src/App.vue - App shell → Sidebar navigation: renders
src/App.vue - App shell → Tab container: renders
src/App.vue - App shell → Dataset state: loads file
src/App.vue - App shell → Sheets import UI: opens import
src/App.vue - App header → App shell: requests import
src/App.vue - Sidebar navigation → Filter controls: renders
src/components/layout/Sidebar.vue - Sidebar navigation → Pivot controls: renders
src/components/layout/Sidebar.vue - Sidebar navigation → Map controls: renders
src/components/layout/Sidebar.vue - Dataset state → File parser: parses file
src/stores/dataStore.ts - Sheets import UI → Sheets fetch and parse: fetches sheet
src/components/common/GoogleSheetsImport.vue - Sheets import UI → Dataset state: updates dataset
src/components/common/GoogleSheetsImport.vue - Sheets fetch and parse → Google Sheets: fetches CSV
src/utils/googleSheetsParser.ts - Filter controls → Tab and UI state: edits filters
src/components/panels/FilterPanel.vue - Filter controls → Dataset state: reads columns
src/components/panels/FilterPanel.vue - Pivot controls → Tab and UI state: edits fields
src/components/panels/PivotFieldsPanel.vue - Pivot controls → Dataset state: reads columns
src/components/panels/PivotFieldsPanel.vue - Map controls → Map state and boundaries: changes boundaries
src/components/panels/MapViewControls.vue - Tab container → Tab and UI state: manages tabs
src/components/layout/TabContainer.vue - Tab container → Interactive map: renders map
src/components/layout/TabContainer.vue - Tab container → Charts: renders charts
src/components/layout/TabContainer.vue - Tab container → Data table: renders table
src/components/layout/TabContainer.vue - Tab container → Filter and aggregate data: prepares export data
src/components/layout/TabContainer.vue - Tab container → Chart and data export: exports results
src/components/layout/TabContainer.vue - Charts → Filter and aggregate data: processes data
src/components/charts/EChartsGeneric.vue - Interactive map → Filter and aggregate data: processes data
src/components/charts/EChartsMap.vue - Interactive map → Map state and boundaries: reads map state
src/components/charts/EChartsMap.vue - Interactive map → Tab and UI state: reads tab state
src/components/charts/EChartsMap.vue - Interactive map → Dataset state: reads dataset
src/components/charts/EChartsMap.vue - Interactive map → Map callouts: renders callouts
src/components/charts/EChartsMap.vue - Map state and boundaries → Region GeoJSON: loads boundaries
src/stores/mapStore.ts - Map state and boundaries → Province GeoJSON: loads boundaries
src/stores/mapStore.ts - Map state and boundaries → City GeoJSON: loads boundaries
src/stores/mapStore.ts - Map state and boundaries → Tab and UI state: reads UI state
src/stores/mapStore.ts - Data table → Dataset state: reads data
src/components/charts/DataTable.vue - Data table → Tab and UI state: reads tab state
src/components/charts/DataTable.vue