fbpx
1-888-310-4540 (main) / 1-888-707-6150 (support) info@spkaa.com
Select Page

How to Create Google Charts with Python

Written by SPK Blog Post
Published on May 9, 2011

The goal of a typical system administrator is to get a job or task done as quickly as possible, without worrying about how elegant a solution might be.  Reusing any existing scripts, tools, or utilities are always the first line in tackling the job.  Often times, the job involves taking some form of data, and representing it in a more human friendly format.  In terms of network management, you may want to display ping times, uptime metrics, or other performance related data.  Excel combined with graphs are a common choice — its a quick, flexible, and universal tool that many rely on.

However, with the proliferation of the web, and the fact that most datasets are dynamic and not static, a more elegant solution does exist out there– Google Charts.  Google Charts is a web service hosted by Google.  You send them your data (in the form of an HTTP GET or POST), and they return back to you an image of the graph.  Google Charts is not to be confused with the Google Visualization API.  The latter is a JavaScript library that requires much more complex coding.

Google Charts is a quick and dirty way to get your data out there to the masses.  You can use any method to get your data re-formatted into an HTTP request.  I prefer Python due to its readability over Perl, and I prefer it over shell scripting due to its flexibility.  If you’d like to start creating web accessible graphs quickly, check out my How-To document which includes some sample code.

If you have any questions about Google Charts, let me know!  Please also subscribe to our blog to learn more about how SPK and help save you time and money.

Latest White Papers

DevOps Visibility and Metrics for Driving Business Value eBook

DevOps Visibility and Metrics for Driving Business Value eBook

To reliably measure the business value of the software developmentprocess, organizations need better visibility across the softwaresupply chain. How do businesses improve DevOps visibility, and how does this drive business value? Find the answer to these questions and...

Related Resources

4 Advantages of SolidWorks Cloud PDM (Updated 2023)

4 Advantages of SolidWorks Cloud PDM (Updated 2023)

Considering the leap to cloud-based CAD and PDM solutions? A move to platforms like SolidWorks 3D CAD in the cloud paves the way for unmatched flexibility. Imagine accessing intricate engineering data from anywhere at any time. And, the benefits don’t end there. In...

GitLab and DevSecOps For Solid Software Development

GitLab and DevSecOps For Solid Software Development

Staying competitive requires more than just code and creativity. In fact, it demands way more. For example, a strategic approach to streamline development, ensure security, and foster collaboration. Two methodologies emerged to address these needs: DevOps and...