How to Embed a ThingSpeak Chart on your WordPress Blog

ThingSpeak Charts can be embedded into a WordPress blog by using the “embed” block.This allows you to embed a chart in blog posts, pages, and widgets.

Steps

  • Find the ThingSpeak Chart that you want to embed.
  • Click on the bubble icon next to the chart and copy the embed code
  • On WordPress, add a new block and select the “Embed” type
  • Paste the ThingSpeak embed code and click Embed

Example Using ThingSpeak Channel 3

10 comments

  1. I tried it; i see the chart but i don’t see the plotted point of my temperature sensor.
    I used this code
    [iframe_loader src=”https://api.thingspeak.com/channels/6007/charts/Temperature?round=2&average=60″]

        1. “api” will forward to “www” – charts act like a webpage and not necessarily as an API call. Either way will work though.
          Also, each channel has 8 fields, we identify the fields by numbers, so charts/1 gives you the data for field 1 of the channel.
          Glad it works. Let us know if you need anything else.
          Hans

  2. Hi again(i posted this in the other section but i didn’t have an answer),
    now i would like to plot my float temperature values…i saw that “updateThingSpeak”expects a “String” as input, therefore i did a cast:
    String temp = String(temper());
    temper() returns a float but it doesn’t work; if i change the return of function temper() in int, it works, obviously.
    How can i do to fix it?

  3. i need to download the csv file of my channel in my android app.how can i do it?can you prefer me some links or tutorials to do it.

Leave a Reply to christianCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.