There’s no way to develop a web app and don’t need a chart/pie, even this is for the backend. Google offers this Chart API and it’s fabulous. No need to install anything, just call a web page with your set of parameters. Now they offer maps and I can, for example, to keep track of the countries I visited.

Example:

Europe countries I visited so far

Europe countries I visited so far

People say that one picture worth more than a thousand words. This is true: just change, or offer charts as alternative to your long and boring tables and you’ll see the result.

What have I done here:
http://chart.apis.google.com/chart?

  • chs=440×220 *dimensions – this is the maximum size for maps
  • chd=t:100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100, 100,100,100,100,100,100,100,100,100,100,100,100,100,100 *color levels, one per child (chld)
  • cht=t *some default parameter for maps
  • chtm=europe *if you want to show just a region
  • chco=FFFFFF,FF0000,FFFF00,00FF00 *default color and color limits
  • chf=bg,s,EAF7FE *if you want to add a background color for water
  • chld=ROBGTRGRITHUESPTFRNLBECHDEATGBPLSLSKNOCZLVLTRUBAMKSIHRGRCYCS *list of children (countries here)

!Note: It seems that google does not map Serbia correctly. The last country listed there is Serbia (RS) and it is not shown on the map. Strangely, changing this to CS is working. Currently waiting for a response from google (from a human, not the search engine ;))

Related posts:

Tags: , , , , ,
Leave a Reply