HOW TO highlight a Province within a Country with Google GeoChart


After deprecating Image Charts within Map Charts, Google has added Geochart & Geomap as part of the Google Visualization API. A Geochart is rendered within the browser using SVG or VML while Geomap is rendered using an embeddable Flash player. Both types of maps don't allow dragging or scrolling.

I adapted a code sample meant to show a chosen State in USA to highlight a chosen State in India.



You can adapt the original sample to make it work for any country. You have to use the ISO 3166-2 Province/State codes (example: India) for the Country you choose.

Also see:



Comments

Popular posts from this blog

Maven Crash Course - Learn Power Query, Power Pivot & DAX in 15 Minutes

"Data Prep & Exploratory Data Analysis" course by Maven Analytics

Oracle Cloud Infrastructure 2024 Generative AI Professional Course & Certification Exam (1Z0-1127-24)