Book Image

Learning AWS IoT

By : Agus Kurniawan
Book Image

Learning AWS IoT

By: Agus Kurniawan

Overview of this book

The Internet of Things market increased a lot in the past few years and IoT development and its adoption have showed an upward trend. Analysis and predictions say that Enterprise IoT platforms are the future of IoT. AWS IoT is currently leading the market with its wide range of device support SDKs and versatile management console. This book initially introduces you to the IoT platforms, and how it makes our IoT development easy. It then covers the complete AWS IoT Suite and how it can be used to develop secure communication between internet-connected things such as sensors, actuators, embedded devices, smart applications, and so on. The book also covers the various modules of AWS: AWS Greengrass, AWS device SDKs, AWS IoT Platform, AWS Button, AWS Management consoles, AWS-related CLI, and API references, all with practical use cases. Near the end, the book supplies security-related best practices to make bi-directional communication more secure. When you've finished this book, you'll be up-and-running with the AWS IoT Suite, and building IoT projects.
Table of Contents (14 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

Data visualization in the web


Most people use web applications to perform their business or to present their data to customers. There are a lot of web application frameworks that we can use to develop. Corresponding to IoT data, we can apply web applications to visualize our data.

In this section, we will review some JavaScript frameworks to visualize IoT data. I will not review all the frameworks but I will start with three JavaScript frameworks in order to inspire you to use data visualization.

Data-Driven Documents (D3)

D3.js is a JavaScript library for manipulating documents based on data. D3.js has a large number of community members. It supports HTML, SVG, and CSS. Officially, you can get more information about D3.js at https://d3js.org. You can get source code for this library at https://github.com/d3/d3.

For the demo, we will develop the web program using Dj3. library. The program will display data using the Dj3 library. You can follow these steps to perform the demo:

  1. In general, you...