Created by: aravindet
Description of PR
For choropleth maps, change the scale from sequential to sequentialSqrt.
As the number of cases in a few districts are orders of magnitude above all the others, at an India-level district choropleths have a few dark spots in an ocean of white. It isn't possible to distinguish between the districts that have a statistic near the national median, and those districts for which it is close to zero.
See screenshots.
Checklist
-
Compiles and passes lint tests -
Properly formatted -
Tested on desktop -
Tested on phone
Screenshots
Alternative considered (log):
Unfortunately I think this goes too far, minimizing the difference between hotspot districts and the others. It's very sensitive to the choice of the "bottom" of the scale (0 is not an option), and will need some work to set that to, say, the min or 1-percentile number from the data set. Also makes the legend at the bottom very crowded.