How to show categorical data
Sometimes, you need to know whether a pump is working or not, or if a light is on or off.
On the other hand, sometimes, it is useful to perform the classification of some data. Think about the number of times that each IoT device sent data, or the number of devices that have a specific version of the firmware.
In this section, you will learn how to build visualizations of categorical data.
Using stat panels
When you want to show the state of a thing, a machine, a process, and so on, you can use a stat panel. This panel allows you to show any number or text associated with the state that you want to show.
For instance, you can show whether the power mains of an Uninterruptable Power Supply (UPS) is present or not, or whether its batteries are okay or need to be replaced.
You can convert numerical data to categorical data, performing a mapping between data values and categories. For example, you can map a low level of liquid in a tank with...