outbreak-info / outbreak.info

During outbreaks of emerging diseases such as COVID-19, efficiently collecting, sharing, and integrating data is critical to scientific research. outbreak.info is a resource to aggregate all this information into a single location.
https://outbreak.info/
GNU General Public License v3.0
30 stars 13 forks source link

bug with mouseover tooltip labels #97

Open andrewsu opened 4 years ago

andrewsu commented 4 years ago

See mouseover tooltip in the screenshot below -- for some reason, the label for "China" says "California" and the data is wrong. I spot checked other Asian countries and US states -- this bug appears to be specific to China? Link: https://outbreak.info/epidemiology?location=USA_US-CA%3BUSA_US-MA%3BEast_Asia___Pacific%3A_China&log=true&variable=confirmed_numIncrease&xVariable=date&fixedY=true

image

flaneuse commented 4 years ago

Issue due to ":" in ID: '#East_Asia___Pacific:_China_2020-04-11' is not a valid selector. @gkarthik would you mind replacing on the backend?

flaneuse commented 3 years ago

Another example: USA_VI-X01~