Google Charts API web components


Google Charts API web components.

See: Documentation

Build Status Published on NPM Published on



npm i @google-web-components/google-chart

In HTML file

    <script type="module">
      import '@google-web-components/google-chart/google-chart.js';
    <google-chart data='[["Month", "Days"], ["Jan", 31]]'></google-chart>

In a Polymer 3 element

import {PolymerElement, html} from '@polymer/polymer';
import '@google-web-components/google-chart/google-chart.js';

class NewElement extends PolymerElement {
  static get template() {
    return html`
      <google-chart data='[["Month", "Days"], ["Jan", 31]]'></google-chart>
customElements.define('new-element', NewElement);

More usage examples

See examples in the demo or try this live JS bin.


Instructions for running the tests and demo locally:


git clone
cd google-chart
npm install
npm install -g polymer-cli

Running the demo locally

polymer serve --open

and visit

Running the tests

polymer test --npm


Link to this version
ImportedReleased 22 December 2016Apache License 2.0
Framework Support
Polymer 1.0+
Also supported:
Polymer 2 (2.0.1)Polymer 3 (3.0.4)
Browser Compatibility
Install with
bower install --save GoogleWebComponents/google-chart"#1.1.2"
Run the above Bower command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 1.1.2


  • google-apis#GoogleWebComponents/google-apis#^1.0.0
  • iron-ajax#PolymerElements/iron-ajax#^1.0.0
  • polymer#Polymer/polymer#^1.0.0
  • promise-polyfill#polymerlabs/promise-polyfill#^1.0.0