Visualize Data

Transform and visualize data in MATLAB®

Use the MATLAB Visualizations app to visualize data in a ThingSpeak™ channel. You can view and explore data using interactive visualizations such as an area plot, line plot, or scatter plot in static visualizations using other MATLAB plots. You can also make visualizations public and use the URL to embed them on websites. ThingSpeak also allows you to use MATLAB to analyze your data. The MATLAB Analysis and MATLAB Visualizations apps provide code templates to assist you with basic operations on your historic or live data. Use code template tutorials to get started with ThingSpeak. Use the apps to convert from one unit to another, compare different or similar data on the same plot, or visualize the statistical distribution of your data.

You can Add Functions to Scripts (MATLAB) in MATLAB Analysis and Visualization apps to allow for modular coding. In addition to the built-in MATLAB functions, you can also use functions from the toolboxes mentioned in Access MATLAB Add-On Toolboxes.

Functions

expand all

Create ChartGenerate a chart with HTTP GET
Show Channel MapShow channel location on a map

Topics

Add Visualizations to Your Channel or Your Website

MATLAB Visualizations App

Visualize the data in a channel.

Channel Display Widgets

Choose among customizable visualizations of channel data.

Embed Your ThingSpeak Plots on Web Pages

You can use your ThingSpeak plot that updates automatically on any website.

Embed a Chart

Embed ThingSpeak charts on a custom website.

Create Customized ThingSpeak Channel View

This example shows how to turn the ThingSpeak channel view into a live data console.

Visually Compare Data of Different Types

Plot Temperature and Wind Speed on Two Different Axes

This example shows how to read two types of data from an existing ThingSpeak™ channel and generate a line plot with two independent y-axes.

Visualize Correlation Between Temperature and Humidity

This example show how to read multiple variables from an existing ThingSpeak™ channel and generate a scatter plot to examine the correlation in temperature and pressure.

Visually Compare Data of the Same Type

Use Area Plot to Compare Traffic Data Sets

The MATLAB® Analysis and MATLAB Visualizations apps in ThingSpeak™ let you pick from a selection of code templates as a starting point for building your own project.

Compare Temperature Data from Three Different Days

This example shows how to read data from an existing ThingSpeak™ channel and generate a plot with three series on the same axis.

Visualize Time Series Data

Use Histogram to Understand Variation in Data

This example shows how to read data from an existing ThingSpeak™ channel and generate a histogram plot.

Visualize Directional Data with Compass Plot

This example demonstrates matrix calculations in MATLAB and the use of a compass plot in a MATLAB Visualizations App to show directional distribution.

Visually Compare Location Data

Create Heatmap Overlay Image

This example shows how to create a heatmap using wireless network signal strength measurements from an ESP32 development board.

Featured Examples