ch-covid-19 / self-report-frontend

MIT License
0 stars 14 forks source link

Improve spread representation with geo-heatmap #18

Open mullerch opened 4 years ago

mullerch commented 4 years ago

Actually, the map shows the points where reports have been done based on the number of reports (for each classification. e.g. healthy).

This has multiple downsides:

To have a better representation, I would recommend developing a heatmap of the disease. Each of the three main classifications (no disease, disease, recovered) colors the location region into 'their' color, the one with the most cases (with their specific ratio) gets the 'most' coloration. Regions with no (or very few) reporting are not represented.

It could typically look like this (or a simplified version) : 63515170-7a9cd280-c4ea-11e9-8875-e693622ac26e Source: https://github.com/luka1199/geo-heatmap

Main challenges here are calculation and performance. Best would be to build a leaflet layer so we can keep the filters. We are also open to other propositions though.

mullerch commented 4 years ago

A single point to open the popup for each location would stay on top to check the effective values.

pksec commented 4 years ago

I like the idea.