Closed davidebbo closed 4 years ago
This fixes #9 in the majority of cases. It can get incorrect when displaying a large number of localities.
In addition, I made a separate change to always order the legend alphabetically, which I feel works better as you add more localities.
Not merging for now, per the reasoning here:
https://github.com/davidbau/covid-19-chart/issues/9#issuecomment-605556008
This fixes #9 in the majority of cases. It can get incorrect when displaying a large number of localities.
In addition, I made a separate change to always order the legend alphabetically, which I feel works better as you add more localities.