A geographic drill-down dashboard pairing a Luzmo custom chart map with a configurable dashboard for spatial drill-down analysis powered by ACK.


A geographic drill-down dashboard that pairs a Luzmo custom chart map with a configurable Luzmo dashboard. Select regions on the map to filter every chart on the dashboard — enabling spatial drill-down analysis powered entirely by the Luzmo platform.
drill-thru-map) embedded via luzmo-embed-viz-item for interactive geographic visualization.drill-thru-map custom chart rendered via @luzmo/embed@luzmo/analytics-components-kit (grid, data panels, edit components)@luzmo/lucero, @luzmo/iconsA Luzmo account with:
drill-thru-map custom chart deployed to your Luzmo environmentCreate a .env in the project root:
| Variable | Description |
|---|---|
VITE_LUZMO_AUTH_KEY |
Luzmo embed auth key |
VITE_LUZMO_AUTH_TOKEN |
Luzmo embed auth token |
VITE_LUZMO_API_URL |
(Optional) API host, default https://api.luzmo.com |
VITE_LUZMO_APP_SERVER |
(Optional) App server, default https://app.luzmo.com |
npm install
npm run dev
Open http://localhost:5173.
Build for production:
npm run build
npm run preview
src/
├── App.jsx # Layout, state, collapsible panels
├── main.jsx
├── index.css # Global and theme styles
├── components/
│ ├── Header.jsx # Theme toggle, Add Item, Save
│ ├── LeftPanel.jsx # Draggable data fields + drop panel for map slots
│ ├── MapView.jsx # luzmo-embed-viz-item (drill-thru-map custom chart)
│ ├── DashboardEditor.jsx # luzmo-grid with cross-filters from map
│ ├── RightPanel.jsx # Chart config panel wrapper
│ ├── ChartConfigPanel.jsx # Data/Options/Filters for selected dashboard item
│ ├── AddItemDialog.jsx # Chart type picker dialog
│ └── ThemeToggle.jsx
├── hooks/
│ ├── useLuzmoAuth.js # Reads VITE_LUZMO_* env vars
│ ├── useLuzmoData.js # Map slot config, column mapping
│ ├── useMapData.js # Selection state, bounds (Turf.js)
│ ├── useDashboardItems.js # Dashboard items CRUD, grid positions
│ └── useTheme.jsx # Dark/light theme state
└── data/
├── itemTypes.js # Chart types for Add Item dialog
└── demoPoints.js # (optional) fallback data
Private. See your organization's terms for Luzmo and dependencies.
Take your data products to the next level with Luzmo.