This interactive web application visualizes JUNE simulation data on a geographic map, showing population distribution, schools, companies, hospitals, and other facilities across different areas.
- Interactive map with geographic boundaries
- Population density visualization with color coding
- Demographic breakdowns by age groups
- Statistics panel with overall metrics
- Click-to-explore area details
- Multiple data layers (population, schools, companies, etc.)
- HDF5 File: Contains simulation data including population, schools, companies, etc.
- Shapefile: Geographic boundaries (MSOA/IZ/SDZ combined boundaries)
- Install Python dependencies:
pip install -r requirements.txt-
Ensure the following files exist:
/Users/marthacorrea/june-measles/tests.hdf5- HDF5 simulation data/Users/marthacorrea/june-measles/data/input/geography/map_shapes_combined/Combined_MSOA_IZ_SDZ_2021_2022.shp- Geographic boundaries
-
Run the application:
python app.py- Open your browser and go to:
http://localhost:5001
- Use the dropdown controls to switch between different data layers and metrics
- Click on areas of the map to see detailed information
- Hover over areas to highlight them
- View overall statistics in the right sidebar
- Explore demographic breakdowns for selected areas
- Backend: Flask (Python)
- Frontend: HTML, CSS, JavaScript
- Mapping: Leaflet.js
- Charts: Chart.js
- Data Processing: h5py, geopandas, numpy, pandas