Logo
Logo
  • Home
  • Projects
  • Writing
  • Work
  • Request Quote
Logo

Backed by 20+ years of hands-on software development expertise, mithra62 transforms ideas into powerful, reliable solutions—designed to work exactly how you want, every time.

  • Address

    Tucson, AZ 85712
  • Email

    eric@mithra62.com
  • Contact

    +1-310-739-3322

Google Visualization API Primer

  • Home
  • Writing
Google Visualization API Primer
30 Mar 09
  • Programming
  • Code

The Google Visualization API is a JavaScript API for creating those fancy graphs and charts Google displays in all their cool toys like Google Analytics. There's just an obnoxious amount of chart types available in the Visualization API Gallery that include code samples along with every example. There's also the incredible Google Ajax API Playground which lets you play with the API and see real-time output.

Google Visualization

According the official website:

The Google Visualization API lets you access multiple sources of structured data that you can display, choosing from a large selection of visualizations. Google Visualization API enables you to expose your own data, stored on any data-store that is connected to the web, as a Visualization compliant datasource. Thus you can create reports and dashboards as well as analyze and display your data through the wealth of available visualization applications. The Google Visualization API also provides a platform that can be used to create, share and reuse visualizations written by the developer community at large.

I have no real interest in publishing public widgets and I've only used the API by generating the data declarations; so far anyway. That's actually what's so compelling about the API; since it's JavaScript based the API can be used with any server side language.

I'm mostly interested in using the charts and graphs for displaying data from a database on a website so that's all this article is going to focus on.

One more thing to keep in mind; the API is just JavaScript. There's nothing too fancy or random being done so even though the below may look complicated don't forget; IT'S JUST JAVASCRIPT.

Examples

Line Chart

Line Chart


Pie Chart

Pie Chart


Recent Post

  • Budget ExpressionEngine SEO in 2025
    Budget ExpressionEngine SEO in 2025
    07 Oct, 2025
  • The Road So Far
    The Road So Far
    30 Sep, 2025
  • I'm Speaking! (...again...)
    I’m Speaking! (...again…)
    27 Apr, 2022

follow us

© Copyright 2025 | mithra62

  • Home
  • Projects
  • Writing
  • Work
  • Request Quote