Bar Charts Made Easy!

I have been using Yahoo Pipes a lot recently, and I saw the amazing flexibility that the Google Charts API provides. I wanted to be able to pass data from my Pipe to create a chart. But I also wanted to find a way to make creating charts easy for the non-programmer.

So, I have created the Google Bar Charts Yahoo Pipe.

Google Bar Charts

This pipe allows you to manually enter data, and specify how you want the chart to look. Anyone can take some number figures, and create a bar chart.

To use this, place your Data Descriptions in the Bar Labels box, and your Data Values in the Data box. Let’s take a look at who has commented the most this week from some of the big names on FriendFeed. We will enter this into the Google Bar Charts Pipe:

  • For the Bar Labels: Louis Gray,Robert Scoble,Leo Laporte,Bret Taylor
  • For the Data: 171,155,75,103

Here is the entered data into the Google Charts Pipe:

There are some default values to show you what to fill in, but here is what I modified for this chart:

  • The Title (The title of the chart)
  • The Chart Size (I needed a longer chart to fit everything, so i changed the width)
  • The Min/Max Value (My maximum value was 171, so I made the maximum 200)
  • The Bar Labels (The names for our data)
  • The Data (The data itself)
  • The Side Labels (Marking points for the data, I went in increments of 25)
  • The Bar Spacing (To fit the longer names for the labels)

You can also optionally adjust the colors, and some other options.

The Results

Here is the resulting Google Bar Chart:

Most Comments this Week

Easy, right? Once the chart has been generated, copy the link for the graph, and you can use this URL as an image source in your blog or HTML code - or just right click and save the image for later. Go try it for yourself: Google Bar Charts Yahoo Pipe

Shortly, I will be releasing additional pipes for other chart types, as well as a pipe that will make it easy for Pipe Creators to pipe their feed data into a chart.

Related Articles

  • June 15, 2008 at 9:21 pm Louis Gray
    My money is on blue for the win.
  • June 15, 2008 at 9:43 pm felix
    I did a bunch of stuff with pipes early on, but kinda fell off the wagon. They've been adding a lot of interesting modules, though, I should probably get back in there. Your bar chart pipe is really a great idea and underscores the strength of Pipes. Very cool!

Viewing 2 Comments

close Reblog this comment
blog comments powered by Disqus