Skip to Content
Learning AWS IoT
book

Learning AWS IoT

by Agus Kurniawan
January 2018
Intermediate to advanced
278 pages
5h 13m
English
Packt Publishing
Content preview from Learning AWS IoT

Chart.js

Chart.js is a very light charting library for creating responsive charts using HTML/HTML5 canvas elements. In my opinion, this library is easier to use. You can read and download the Chart.js file at http://www.chartjs.org. You can download the Chart.js library at https://github.com/chartjs/Chart.js.

For the demo, we will develop a web application to visualize data using the Chart.js library. To show how to use the Chart.js in web application, we will use the same JSON data from the previous section to visualize the data. You can follow these steps to perform the demo:

  1. Create an HTML file, called chartjs.html. Then, put the Chart.js file and jQuery files into the HTML header:
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn AWS Serverless Computing

Learn AWS Serverless Computing

Scott Patterson

Publisher Resources

ISBN: 9781788396110Supplemental Content