spk-logo-tm-2023
0%
1-888-310-4540 (main) / 1-888-707-6150 (support) info@spkaa.com
Select Page

How to Create Google Charts with Python

windchill features best plm software
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 easy 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

A Guide to Ensuring CAD Success in Virtual Environments

A Guide to Ensuring CAD Success in Virtual Environments

As the shift to cloud-based CAD increases, businesses are searching for the perfect virtual CAD tool. Discover all about SPK vCAD as well as other virtual CAD options for collaborative design on this eBook.What You Will Learn In this eBook, you will discover: Future...

Related Resources

Fast Answers, Fewer Meetings: Building a Smart Knowledge Culture

Fast Answers, Fewer Meetings: Building a Smart Knowledge Culture

If your day feels like a relay race between status calls and Slack pings, you’re not alone.  Most teams still default to “let’s meet” when they can’t find an answer quickly.  However, the cost of this is real. Slow decisions, fragmented knowledge, and “do-overs”...

The Role of Managed Services in Scaling Engineering Projects

The Role of Managed Services in Scaling Engineering Projects

Introductions Hi everybody. I'm Michael Roberts, Vice President of Sales and Marketing here at SPK and Associates. And today we're discussing a topic that's shaping the future of product development and engineering. And that's the role of managed services and managed...

A Compliance Checklist for an ISO 9001:2015 Audit

A Compliance Checklist for an ISO 9001:2015 Audit

ISO 9001:2015 is the internationally recognized standard for Quality Management Systems (QMS). It helps organizations consistently deliver quality products and services, meet customer expectations, and drive continual improvement. Achieving ISO 9001 certification...