Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Hardcode colour of states with zero cases to white #71

Merged
merged 2 commits into from
Mar 25, 2020

Conversation

shuklaayush
Copy link
Member

@shuklaayush shuklaayush commented Mar 24, 2020

Zero value of interpolateReds( ) scale is not mapped to complete white. Hardcode zero value to white.
Fixes #70.

@vercel
Copy link

vercel bot commented Mar 24, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/covid19india/covid19india-react/lzzl0f8zz
✅ Preview: https://covid19india-react-git-fork-shuklaayush-fix-map-whites.covid19india.now.sh

@jeremyphilemon
Copy link
Collaborator

Looks good! 🚀

@jeremyphilemon jeremyphilemon merged commit b8f63de into covid19india:master Mar 25, 2020
@shuklaayush shuklaayush deleted the fix/map-whites branch March 26, 2020 04:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Colour code of map
2 participants