How to Use Google Charts. Using Google Charts Google Charts is used to provide a way to visualize data on your website. You can choose to use simple line.

Slides:



Advertisements
Similar presentations
Mercury Quality Center 9.0 Training Material
Advertisements

11 Getting Started with ASP.NET Beginning ASP.NET 4.0 in C# 2010 Chapters 5 and 6.
Google Visualization ISYS 650. Google Visualization API We can use the Google Visualization.
FIRST COURSE Excel Tutorial 4 Working with Charts and Graphics.
Automating Tasks With Macros
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 3-1 of…
COMPREHENSIVE Excel Tutorial 4 Working with Charts and Graphics.
EXCEL PART 2. Chart Elements Chart Title Plot Area Data Marker X AxesCategory Name Y axes.
® IBM Software Group © 2006 IBM Corporation JSF Tab Controls This Learning Module shows how to develop server-side EGL applications with dynamic content.
Instructor: Professor Cora Martinez, PhD Department of Civil and Environmental Engineering Florida International University.
Review of last Session Adding custom html Adding custom html HTML is the language that web servers understand, all web pages are created using HTML. HTML.
1 Events Lect 8. 2 Event-driven Pages one popular feature of the Web is its interactive nature e.g., you click on buttons to make windows appear e.g.,
Simple Pages for Omeka Lauren Dzura LIS
KRAD makes it easy to handle HTML events in your webpage. Kuali University: Apply Now Lab 6: Fun with HTML Events Lab Objectives HTML Events – what are.
Inspire students to develop ideas & organize thinking
Chapter 19: Adding JavaScript
Advanced DHTML.
Microsoft Office Illustrated Introductory, Premium Edition with Charts Working.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
Javascript II DOM & JSON. In an effort to create increasingly interactive experiences on the web, programmers wanted access to the functionality of browsers.
Creating Buttons – Lesson 51 Creating Buttons Lesson 5.
 HTML is hypertext markup language. It is a way for people to display their information with more complex pictures and text displays. Before HTML, messages.
© 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Creating Charts Lecture 19.
CTS130 Spreadsheet Lesson 9 - Building Charts. What is a Chart? A chart is a visual display of information in a worksheet. Charts can help you make comparisons,
Copyright 2002, Paradigm Publishing Inc. CHAPTER 18 BACKNEXTEND 18-1 LINKS TO OBJECTIVES Creating a Chart Sizing and Moving a Chart Sizing and Moving a.
Button and Textbox. Input  Input objects are used to obtain input from the user viewing the webpage. They allow the user to interact with the Web. 
1. Chapter 15 Creating Charts 3 Charting Data in Word A chart or graph presents data visually. A chart depicts numeric data in a graphical format. If.
Return to Outline Copyright © 2011 by Maribeth H. Price 3-1 Labeling and annotation.
Designing an html template and: + P assing Access reports through an html template and: + A utomatically generating the custom- designed web look. A. Mays,
Dr. Martin Zhao Sept 4, Topics HTML and related tutorials on w3schools.com Related HTML tags Adding interesting features using JavaScript What is.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.
2010 Staff Development - Tony Judice. Highlight the area to be graphed. Highlight labels, in this case days of the week, and the values that apply to.
Creating Graphs in PowerPoint Step 1 Open a new PowerPoint Document.
© 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Lecture 29 Enhancing Presentations with Graphics (2)
Types of Spatial Data Sites Data portals: Find and download data –Humboldt County, National Atlas “Atlases”: General information –GoogleMaps, MapQuest.
Changing text colour with mouse over effect Activity 5 Procedure 1. Start Dreamweaver and select the ‘Hong Kong Scenery’ web site. 2. Open the web page.
JQuery JavaScript is a powerful language but it is not always easy to work with. jQuery is a JavaScript library that helps with: – HTML document traversal.
Creating Google Sites Laura Assem, Director of Technology.
Let’s get started! 1. Go to weebly.com 2. Fill in your information.
Event Handling. Objectives Using event handlers Simulating events Using event-related methods.
 Scripts that execute in response to some event  User clicking on something  Script does NOT execute as part of page loading  DOM facilities like.
Chapter 11 Adding Media and Interactivity. Chapter 11 Lessons Introduction 1.Add and modify Flash objects 2.Add rollover images 3.Add behaviors 4.Add.
Document Object Model Nasrullah. DOM When a page is loaded,browser creates a Document Object Model of the Page.
LESSON : EVENTS AND FORM VALIDATION -JAVASCRIPT. EVENTS CLICK.
Easy WP Guide V2.6 for WordPress 3.8. easywpguide.com Adding Tags within your Post Adding Tags whilst editing your Post, will automatically assign those.
Excel Part 4 Working with Charts and Graphics. XP Objectives Create an embedded chart Work with chart titles and legends Create and format a pie chart.
Excel Part 4 Working with Charts and Graphics. XP Objectives Create an embedded chart Work with chart titles and legends Create and format a pie chart.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 4 Inserting.
Google Tag Manager and YaleSites: The Next Step for Google Analytics Yale University DrupalCamp 2016 Steve Wieda March 24, 2016 Yale University Library.
Microsoft Office XP Illustrated Introductory, Enhanced With Charts Working.
Internet & World Wide Web How to Program, 5/e.  JavaScript events  allow scripts to respond to user interactions and modify the page accordingly  Events.
Excel Working with Charts and Graphs
Using DHTML to Enhance Web Pages
Project Objectives Lay out Web pages Create layers
Introduction to Google Tag Manager
Excel Part 4 Working with Charts and Graphics
Excel Part 4 Working with Charts and Graphics
Assignment #12 “Off the chart!”
Bootstrap Components Reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more.
Signature: Microsoft Word 2003
JavaScript Charting Library
Exercise 1 Modify some parameters in the histogram.js and see what would happen (one by one) 20 in Line 2  in Line 3  in Line 15  .9.
Web Design and Development
Web Development Using ASP .NET
Finally, let me give you a peek at one of my current projects, Bloom
Writing to the Page Formatting Forms
Web Programming and Design
Web Programming and Design
Excel Part 4 Working with Charts and Graphics
Presentation transcript:

How to Use Google Charts

Using Google Charts Google Charts is used to provide a way to visualize data on your website. You can choose to use simple line charts or complex hierarchical tree maps, chart types vary. The chart gallery provides a large number of ready-to-use charts for any circumstance. The most common way to use Google Charts is with JavaScript that you embed in your web page.

Step 1: Load the Libraries The first step to using any Google Chart is loading the Google JSAPI library loader, and then using it to load the visualization library.

Step 2: Preparing the Data As we all know, all charts require data. You must list the data to be charted. Google Charts require data to be wrapped in a JavaScript class called google.visualization.DataTable. This class is defined in the Google Visualization library that you loaded previously.

Step 3: Customizing the Chart Every Google Chart has many customizable options including: title, colors, line thickness, background fill, etc. Although the default chart appearance may look good, you should still want to customize your chart. For example, adding your own title and axis labels. Specify custom options for your chart by defining a JavaScript object with option_name/option_value properties.

Step 4: Drawing the Chart After you've prepared your data and options, you are ready to draw your chart. Your page must have an HTML element (typically a ) to hold your chart. You must pass your chart a reference to this element. Assign it an ID that you can use to retrieve a reference using document.getElementById(). Anything inside this element will be replaced by the chart when it is drawn. After you call draw(), your chart will be drawn on the page. You should call the draw() method every time you change the data or the options and want to update the chart.

Step 5: Add Interactivity Finally, the last step to your Google Chart is to add interactivity. If you want to increase your number of user clicks, you need to listen for events thrown by the chart. Here are the most common events thrown: - Ready: Thrown when the chart is drawn on the page and ready to respond to methods. - Select: Thrown when the user selects something on the chart, typically by clicking on a bar or pie slice. - Onmouseover and Onmouseout: Thrown when the user mouses over or off of a specific chart element, respectively.