The heiplanet Mapping project shows the predictions and predicted susceptibility in the future of different diseases by Infectious disease/Climate models from the group, across different regions in the map.
This repository contains the frontend for the Climate Map. The user can browse for models with the Model Selector, and change the year to see future suspcetibility predictions
It can be configured to request and display NUTS3 regions, or worldwide equivalent regions, which is dependent upon the underlying model.
For the worldwide view, the data is projected from individual points into polygons on the frontend.
(Out of date, new diagram needed)
- First, make sure the
onehealth-dbrepository is running with the API accessible. It depends upon a running postgres database, typically docker namemy-postgres. The API must be able to return generated data for 2016 and 2017. - Run
pnpm ito install dependencies - Run
pnpm run devto launch the application
The website can be used by visiting http://localhost:5173/map, which will present the user with two view modes.
You can also share the link directly to a specific view mode:
- Citizen:
http://localhost:5173/map/citizen - Expert:
http://localhost:5173/map/expert
Create an issue in the repository.
A) Future development will pull the models for model browsing from a live API B) Regions will be determined by the backend, not interpreted into GeoJSON regions by the frontend processing grid lat/lng data into GeoJSON regions (as they are presently for the world view)
MIT, see LICENSE.md
Under development
