How darkwolf007/spatial_intelligence_realestate works
GeoDashboard is an interactive real-estate geospatial dashboard: users select a mapped area and housing type, adjust amenity inputs, and view historical and predicted prices. The active App.js coordinates map selection, controls, chart data, and requests to the prediction API; the API combines area/amenity weighting with a loaded model to produce a five-year forecast. The README also describes a draggable amenity sidebar and theme toggle; AmenitySidebar.jsx is present, though the shown active shell does not import it. The separate App.jsx imports that sidebar and appears to be an alternate UI. Connections are limited to shown code and README claims.
Main entry points: App.js Dashboard shell · App.jsx Alternate shell · predict.py Prediction API · MapView.jsx Area map
Components 12
Dashboard UI
- Dashboard shell
geodashboard/src/App.js - Alternate shell
geodashboard/src/App.jsx - Housing selector
geodashboard/src/components/HousingTypeDropdown.jsx - Amenity sidebar
geodashboard/src/components/AmenitySidebar.jsx - Forecast chart
geodashboard/src/components/ForecastChart.jsx
Geospatial selection
- Area map
geodashboard/src/components/MapView.jsx - Area features
geodashboard/public/final_vis.json
Forecast service
- Prediction API
api/predict.py
Forecast inputs
- Price model
api/model.pkl - Area weights
api/weighted.csv
Other components
- Dashboard user
- Google Maps
Connections 15
- Dashboard user → Dashboard shell: uses
README.md - Dashboard shell → Area map: renders
geodashboard/src/App.js - Dashboard shell → Housing selector: renders
geodashboard/src/App.js - Dashboard shell → Forecast chart: renders
geodashboard/src/App.js - Alternate shell → Amenity sidebar: renders
geodashboard/src/App.jsx - Alternate shell → Area map: renders
geodashboard/src/App.jsx - Alternate shell → Housing selector: renders
geodashboard/src/App.jsx - Alternate shell → Forecast chart: renders
geodashboard/src/App.jsx - Area map → Area features: loads
geodashboard/src/components/MapView.jsx - Area map → Google Maps: uses map API
geodashboard/src/components/MapView.jsx - Dashboard shell → Prediction API: posts forecast request
geodashboard/src/App.js - Prediction API → Dashboard shell: returns forecast
api/predict.py - Prediction API → Price model: loads and predicts
api/predict.py - Prediction API → Area weights: reads weights
api/predict.py - Dashboard shell → Amenity sidebar: supports drag-and-drop sidebar
README.md