Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Google Visualization API Essentials
  • Table Of Contents Toc
Google Visualization API Essentials

Google Visualization API Essentials

By : Traci Lynn Ruthkoski
3 (1)
close
close
Google Visualization API Essentials

Google Visualization API Essentials

3 (1)
By: Traci Lynn Ruthkoski

Overview of this book

There's a lot of data in our world, and visual representations are often the best method of making sense of it all. Yet, it should not take an army of programmers and analysts to create visualizations in order to make data useful. The Google Visualization API is accessible to novice and advanced programmers alike, making data useful to more people."Google Visualization API Essentials" will show you how to create interactive data displays with very little code. The API, combined with Google Spreadsheets and Fusion Tables, is a complete system, from data management to analytical displays. Not only is it simple to learn, but the Google Visualization API can also be viewed as a first step to learning additional Google APIs."Google Visualization API Essentials" uses both methodology overviews and hands-on examples with real data to introduce chart and graph creation on the Google platform. Topics are presented from various aspects, including Google Spreadsheets and Fusion Tables, and Graphic User Interfaces. An overview of the various API development environments available to developers is also covered. Basic and advanced charts, data source connectivity, style formatting, and publishing options are also explored in depth."Google Visualization API Essentials" brings the arsenal of Google Visualizations into the web developer toolkit.
Table of Contents (16 chapters)
close
close

A basic visualization


With the general structure of visualization application established for both HTML-based and App Script apps, data and rendering code can now be added. For now, the data used in each sample is created within the script for purposes of illustration. In Chapter 6, Data Manipulation and Sources, data source connectivity outside the API script will be addressed. However, the following high-level logic for creating a visualization remains the same.

Logical steps to create a visualization are as follows:

  1. Create/import/connect to the data.

  2. Set the parameters, and perform calculations.

  3. Render the Chart.

For the majority of developers, the most recognizable method of development is in a HTML context. For HTML, the Google Code Playground is perhaps the best development platform for newcomers.

Code Playground

Using the Google Code Playground, the following code renders the 2010 Chicago Census data used in the previous chapter examples.

function drawVisualization() {// Create and populate...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Google Visualization API Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon