Embed API - Third Party Visualizations
The Embed API make it easy to query data and display it in a Google Chart. But it also allows you to access the raw data so you can display it however you want. This example uses the Chart.js visualization library.
The Embed API is built on top of the Google APIs client library, which means you don't just get access to the reporting API, you get access to everything.
In addition to showing Chart.js visualizations, this example uses the underlying client library to query data from the Real Time Reporting API.
You can take a look here: https://ga-dev-tools.appspot.com/embed-api/third-party-visualizations/