IFRCGo/cbs

[Country overview] Table showing #cases/healt risk/region for last 7 days

cathinkaw opened this issue · 5 comments

For a country there should be a table showing data for the last 7 days:

  • all health risks and the amount of cases of each healt rikst per region.
  • Each cell having a case should be highlighted so its easier to detect where there have been cases the last 7 days

image

https://github.com/IFRCGo/cbs/wiki/Analytics

WIP Branch: Here

Screen Shot 2019-06-05 at 10 31 51 AM

Chose to fade numbers when a district has 0 cases of a healthRisk, but we can alter this if something else is nicer for the user.

The data is currently structured like this:

healthRiskName: "Measels", regions: [ {name: "Dakar", numberOfCaseReports: 15. }, ... ]

This is why the axes are flipped as opposed to the sketch. I can get it to flip if we think it is nice for the user.

There will probably be more locations than helath risk, so could be more user friendly to flip it to Cathinka's drawing.

Good point, I'll take a look at that @tineml :)

Here's the most recent version. PR is updated.
Screen Shot 2019-06-06 at 3 51 37 PM