Skip to main content
100%

Gist 121d4ca177a743cfedfd

✓ Published0🌍 Public
DDStruths
Last edited Oct 2, 2014
Created on Oct 2, 2014

This example uses Google's Visualization API to render an area chart tracking the number of Google search results for the term "data" from 2002 to 2012. The code loads the `corechart` package, creates a `DataTable` with year and result-count columns, and draws the chart inside a `<div>` with a smooth `curveType: "function"`. It sets custom styling for title, axes, and colors, and handles window resizing via `$(window).smartresize()` to redraw the chart responsively. The data is hardcoded in the script, with values rising from 7.39 million to 470 million results.

AI-generated description

Similar vizzes