Skip to content

HDF5 world state viewer with interactive map interface for visualizing population, institutions, and geographic data

Notifications You must be signed in to change notification settings

mtcorread/june_viewer

Repository files navigation

JUNE Interactive Map Visualization

This interactive web application visualizes JUNE simulation data on a geographic map, showing population distribution, schools, companies, hospitals, and other facilities across different areas.

Features

  • 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.)

Data Sources

  • HDF5 File: Contains simulation data including population, schools, companies, etc.
  • Shapefile: Geographic boundaries (MSOA/IZ/SDZ combined boundaries)

Setup

  1. Install Python dependencies:
pip install -r requirements.txt
  1. 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
  2. Run the application:

python app.py
  1. Open your browser and go to: http://localhost:5001

Usage

  • 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

Technology Stack

  • Backend: Flask (Python)
  • Frontend: HTML, CSS, JavaScript
  • Mapping: Leaflet.js
  • Charts: Chart.js
  • Data Processing: h5py, geopandas, numpy, pandas

About

HDF5 world state viewer with interactive map interface for visualizing population, institutions, and geographic data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published