google / google-visualization-issues

288 stars 35 forks source link

Geochart: African countries not being recognized as African/ interpreted as dataless #2488

Open joydeji opened 7 years ago

joydeji commented 7 years ago

Some African countries in Geochart (Ivory coast, Congo, Congo DR and South Sudan) are not being recognized as African or are being interpreted as dataless therefore coloring incorrectly. See link: https://developers.google.com/chart/interactive/docs/gallery/geochart

Every map I create with geoCharts has this problem. Please fix this, I need this visual as part of my undergraduate Senior Seminar presentation tomorrow. Thank you

nbering commented 7 years ago

Just to set some realistic expectations for you, @joydeji... If the team at Google does look at this for you and correct it, it's probably not going to be released by tomorrow even if they fix it today. If you you really can't make the presentation with the geocharts as-is... I'd advise looking for another chart library, or if you're comfortable enought with JavaScript/DOM Manipulation/SVG, you might be able to post-process the geochart to make the correction yourself. I wouldn't say it's easy, but it's more likely to get you an accurate chart by tomorrow. Or just take a screenshot of your chart and edit it in some photo software.

joydeji commented 7 years ago

Thanks @nbering, the only plausible solution for me at this point is to use a different visual to explain my research.

periampillai commented 2 years ago

Central African countries show a Tooltip

['CG'],//Republic of the Congo ['CD'],//Democratic Republic of the Congo ['SS'],//South Sudan

dlaliberte commented 2 years ago

There is a new version of the geochart data ('11') and the regioncoder data ('1') that should work better. See the geochartVersion and regioncoderVersion options in the GeoChart docs..

periampillai commented 2 years ago

var options = { geochartVersion: 11, regioncoderVersion: '1', region: '002'// Africa };

but Country Cote d\'Ivoire to Ivory Coast is working.