Tinkering
with Gas
A PDF version of this
is available here from
the OSAPAC Learning Object Repository.
This activity is suitable for a whole class discussion
and analysis of data. Tinkerplots takes data that is available from the
web in a table format and creates a data collection very easily for manipulation
and discussion.
Gassing Up
So, here’s the deal. I’m going to
have a trip from Windsor to Toronto. I don’t have a full tank of
gasoline but I’m
not low enough to fill up before I leave. I figure that I’ll have
to stop on the way (probably in London or Kitchener) and I’d like
to make the best possible decision about where to buy gas based on price.
On the website, http://www.gastips.com, visitors
post the latest pricing that they’ve observed and we’ll use that as the basis for
our data. First, let’s click on the London/St. Thomas selection.
A table of values is displayed on the screen and it’s certainly
good reading. But, let’s bring it into Tinkerplots.
Open Tinkerplots and position it on the screen so that you can see both
it and your Internet browser on the screen at the same time. Click and
drag the URL (by the icon) and drop it onto Tinkerplots. Tinkerplots
does the rest and creates a new collection with the correct number of
cases and each attribute is properly labelled.
Click on the areas to flip through the cases and get a quick look at
your data.

Click for a larger image
Now that is slick! Go back to your web
browser and zero in on the Kitchener Waterloo link. Just as we did above,
drag the URL for this collection of data onto the same Tinkerplots desktop.
Tinkerplots will create a new collection for this region. Since the
data collected is the same (Price, Vendor, Location, Time, Submitter),
both datasets have the same attributes.
Observations
So now we have a Tinkerplots workspace with two collections of data.
Let’s bring two plots onto the screen to analyse our data. Click
to select one of the data collections. You’ll notice that it
is selected by the heavy border that appears around the outside.
Now, from the toolbar at the top of the screen, click on the “Plot” icon
and move your cursor onto the workspace. Using your mouse in the bottom
right hand corner, drag the plot window to a nice readable size.
Let’s place some data.
From the data collection, move your cursor over the data attribute names.
When you are in the right place, your cursor will turn to a “grabbing
hand”. On the vertical axis, we will plot the attribute “Vendor” by
clicking and dragging the “Vendor” attribute to the axis.
You’ll know that you’re in the right spot when Tinkerplots
highlights the axis for you. Release your mouse button to complete the
plotting.
On the horizontal axis, repeat the process by using the “Price” attribute.
By dragging the circle icons, you can pull the data apart. Alternatively,
select the separate button in the menu bar.
It makes sense to me that “Other” is the bottom vendor so
I’ll just click and drag that name to the bottom.
By clicking individual attributes in the data collection, Tinkerplots
will colourize your plot. In the picture below, I’ve clicked on
the vendor attribute. You might want to further clarify your data by
stacking it.
How many Sunoco stations were reported? What is their range of pricing?
By identifying and clicking on a circle icon, you can see that specific
card in your collection.

data "unstacked"

data "stacked" - easier for counting
and identifying
Comparing the Two Plots
Repeat
the process to show your Kitchener Waterloo data in the same manner.
It’s most effective if you resize your plot
windows so that they have the same dimensions.
We do have a problem though. There is significant differences in the
pricing. We need to level the playing field in terms of the price ranges
so that both plots are on the same scale.
| Move your cursor over the
numbers in one of the ranges on the horizontal axis and double
click. Tinkerplots lets you identify two things.
First, the starting value and secondly, the range of data or “Bin
width”. Looking at my data, it appears that the lowest price
I found was 82 cents and 3 looks good as a bin width. |
 |
For a fair comparison, both plots need to have the same axis starting
point and bin width. Now, you can compare the two plots.

click for a larger image
Questions to Ask
We now have a good representation of some of the data from this collection
and can start to ask questions. Tinkerplots is there to help.
To plot other data, just drag it from the collection to the plot.
Where should I buy my gas to get the best price on this date?
Where is the priciest gas?
What company has the best prices?
Is the price of gas from a company the same at all locations?
Does the price of gas depend upon the time of day?
These prices were observed on a particular day. Will they change tomorrow?
How will you know?
In addition to plotting the prices using
Tinkerplots, you may wish to plot the prices by location on an
Ontario Road Map.
You might also want to check out the excellent "Math
is a Gas" Webquest |