After logging into your Ubidots for Education or Ubidots account, select the appropriate dashboard to be working in and click the "plus" icon in the top right to create a new widget.

Next, select the type of chart you intend to display:

In this tutorial, we will display a variable called called Voltage, which represents the voltage reading taken from machine we're currently sensing on a production line. As voltage consumption is constant under normal conditions, we should see a completely linear function visualized in the chart. If we see blips or changes in the voltage, we can then suggest there is an issue and seek preventative maintenance to maximize uptime.

Line charts with 2 or more variables

If you wish to visualize two or more variables, line charts is also be a good fit. For example, here we're comparing the power consumption of 2 machines.

Similarly, if you are inclined to compare multiple differing variables (voltage, energy and power consumption), it might look something like this:

#### Double Axis Chart

As you can see, current and voltage readings become irrelevant because they share the same data range with power consumption, which is clearly higher. For avoiding this data visualization challenge, we can use another type of line chart widget called Double Axis, which lets us compare 2 variables even if the data readings have different data ranges.

Double axis charts are great for finding relationships or patterns between variables. Patterns that you otherwise might have missed if using a line, bar, scatter or pie chart.
The process for creating a double axis chart is the same as a line chart; you only choose Double Axis when selecting from your chart menu when creating the widget.

By using a double axis chart, you can compare one variable (power consumption) vs. any other variable (current).

As you can see, each axis corresponds to each variable data range. In one chart, we can compare power consumption that oscillates between 0 - 1100 on the left X axis, meanwhile the current consumption variable oscillates between 0 - 10 on the right X axis. As you can see, the double axis chart let us notice a strong correlation between energy consumption and current. After all, power is the equivalent of the product among current and voltage.