Book Image

Building IoT Visualizations using Grafana

By : Rodrigo Juan Hernández
5 (1)
Book Image

Building IoT Visualizations using Grafana

5 (1)
By: Rodrigo Juan Hernández

Overview of this book

Grafana is a powerful open source software that helps you to visualize and analyze data gathered from various sources. It allows you to share valuable information through unclouded dashboards, run analytics, and send notifications. Building IoT Visualizations Using Grafana offers how-to procedures, useful resources, and advice that will help you to implement IoT solutions with confidence. You’ll begin by installing and configuring Grafana according to your needs. Next, you’ll acquire the skills needed to implement your own IoT system using communication brokers, databases, and metric management systems, as well as integrate everything with Grafana. You’ll learn to collect data from IoT devices and store it in databases, as well as discover how to connect databases to Grafana, make queries, and build insightful dashboards. Finally, the book will help you implement analytics for visualizing data, performing automation, and delivering notifications. By the end of this Grafana book, you’ll be able to build insightful dashboards, perform analytics, and deliver notifications that apply to IoT and IT systems.
Table of Contents (21 chapters)
1
Part 1: Meeting Grafana
4
Part 2: Collecting Data from IoT Devices
8
Part 3: Connecting Data Sources and Building Dashboards
12
Part 4: Performing Analytics and Notifications
15
Part 5: Integrating Grafana with Other Platforms

Building advanced plots with Plotly

According to the GitHub description, Plotly is a standalone JavaScript data visualization library. This library is also available in Python and R.

With Plotly, you can build a wide range of basic and advanced visualizations, such as 3D graphs, SVGs, and statistical charts.

There are two plugins for running Plotly scripts at the time of writing this book. However, one of them seems to have some issues. In this book, we will work with the Plotly panel, whose source code is available in the following GitHub repository:

https://github.com/ae3e/ae3e-plotly-panel

You can find the plugin page on the Grafana Labs site, at the following link: https://grafana.com/grafana/plugins/ae3e-plotly-panel/.

To install this plugin, you can follow the same procedure described in Chapter 7, Managing Plugins.

In particular, you can install this plugin with the CLI tool, using the following command:

$sudo grafana-cli plugins install ae3e-plotly-panel...