Geochart (Philippines)

2,735 views
Skip to first unread message

Ryan Homer

unread,
Mar 13, 2016, 11:35:09 PM3/13/16
to Google Visualization API
Hi there! 

I am trying to create a geochart with a map based in the Philippines. Unfortunately, whenever I try to generate one, the best geochart map I can get is South Eastern Asia. I wanted the geochart to focus only on the Philippines and have the color gradient be applied to its cities and provinces. Is this possible? Or can the geochart apply color gradients to countries only? Thanks in advance.

The link below is the link I studied to generate the geochart. 

Sergey Grabkovsky

unread,
Mar 14, 2016, 10:27:46 AM3/14/16
to Google Visualization API
You can do this by setting the 'region' option to 'PH' (the Philippines ISO-3166-2 code), and the 'resolution' option to 'provinces'. Here is an example: http://jsfiddle.net/ja635kkL/

You may use this Wikipedia page to figure out which code maps to your desired region.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/428c634d-ae4a-458b-b050-6fba8e4d23dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com


Emerson Paguia

unread,
Mar 5, 2019, 4:31:08 AM3/5/19
to Google Visualization API
oh thank you!


On Monday, March 14, 2016 at 10:27:46 PM UTC+8, Sergey wrote:
You can do this by setting the 'region' option to 'PH' (the Philippines ISO-3166-2 code), and the 'resolution' option to 'provinces'. Here is an example: http://jsfiddle.net/ja635kkL/

You may use this Wikipedia page to figure out which code maps to your desired region.

On Sun, Mar 13, 2016 at 11:35 PM Ryan Homer <sherw...@gmail.com> wrote:
Hi there! 

I am trying to create a geochart with a map based in the Philippines. Unfortunately, whenever I try to generate one, the best geochart map I can get is South Eastern Asia. I wanted the geochart to focus only on the Philippines and have the color gradient be applied to its cities and provinces. Is this possible? Or can the geochart apply color gradients to countries only? Thanks in advance.

The link below is the link I studied to generate the geochart. 

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages