June 3rd: This is now the first of two posts on this topic. The second post, Google Data GIF Maker: Not Sophisticated, Potentially Misleading, documents some additional investigation. Please consider the two posts in tandem. |
Given my fondness for making animated GIFS (see posts tagged animatedGIF on my de•tri•tus blog), the announcement of the Google Data GIF Maker last week had my attention from the start. It looked like a really cool tool for visualizing the relative quantities of two sets of data (two web search topics, say, or the frequency of tweets from two different Twitter accounts). No sooner had I seen it, than Doug Peterson (@dougpete, on Twitter) tweeted about it and mentioned me to make sure I knew about it.
I poked around with the tool, but lacking any documentation (and not finding any in the articles (here’s one, here’s another) that had been posted to announce it), I was flying blind as I tried to get it to work. Did it draw the values from a couple of search URLs? Nope. I looked at the examples. With two numbers (one in each of the Values fields) that summed to 100, it would wobble back and forth and end up with a split representing their relative fraction of the whole. But clearly it must do more than that! It was asking for comma separated data values. Hmmmm. Clearly I needed two sets of relative data that it could compare!
Peter McAsh (@pmcash, on Twitter)was kind enough to download an archive of the @BringIT2017 Twitter account for me to compare with the data that I have from the sister @ecooWeb Twitter account. I spent a few minutes formatting the monthly data into comma-separated values, and then unleashed the tool on the data. The fan came on my laptop, the web tool ground away for numerous minutes, and then it gave me this:
It looked nice, but somehow, the data representation didn’t look right. Despite one number significantly dwarfing the other, the visual splits seemed to be somewhat arbitrary.
I tried again using data from 2016, which I knew from inspection was even more offset in favour of @BringIT2016. Still, it didn’t seem right at all.
I was also puzzled by the fact that both years resulted in an 80/20 split — Not only did that seem highly coincidental, but I also knew that it was not correct. Maybe I was misunderstanding the tool? I tried the 2016 data again using the “+” option rather than the “%” option. Hmmm.
Was the %/+ nothing more than a numerical unit in the footer? Perhaps it has NO effect on the function of the tool.
By this point, I was actively questioning whether the Data GIF Maker was even representing the provided data in the GIF, or perhaps it was simply animating the wobble back and forth and just listing data points in the footer. (I knew the answer — and realized that I could simply confirm my belief by grabbing a single frame from the gif — see below), but I wanted to press on and see if I could actually get the tool to accurately represent the data. Maybe the Data GIF Maker wasn’t as smart as I was expecting it to be? I was assuming that it would take the two corresponding data points from the two lists, do a mathematical comparison on each to generate their relative fractions A/(A+B) and B/(A+B) and express/draw them as percents of the total width — but perhaps I needed to present the data already pre-calculated for it? I transferred my data into a spreadsheet, performed the calculations, and re exported the data as percentages of the total into two pre-compared lists.
Here is the final result.
Yeah. The animated representation is all glitz, and doesn’t accurately represent the true data at all. That’s really too bad. Here is the same GIF, but I have slowed down the frames so that you can see the percentages listed and compare them with the relative proportions of the whole. They are completely arbitrary and way out of whack!
The Google Data GIF Maker might look cool, but it is extremely misleading!
I spent a few minutes with a spreadsheet tool to create a stacked bar graph, and then took the resulting graph into Photoshop to create what I had actually hoped the Data GIF Maker was doing. Here is my own animated GIF of the actual data, represented in proper proportions of the width/area. Enjoy!
Some notes regarding the GIFs created by the Google Data GIF Maker:
- The GIF files are huge – on the order of 4-5 MB each.
- To get the smooth animation, they have a lot of frames, literally hundreds of frames for 12 pairs of data points.
- The files don’t use an optimized colour palette, which also increases file size considerably. They could easily get away with an 8 colour palette.
- All those decimals in the percentages suggest a precision that doesn’t exist in the data.
- And again, they emphasize glitz at the expense of accurately representing the data. It’s nowhere close.
I’m keen to see the Data GIF maker evolve, as it certainly creates a nice product with much less effort than is required to do the same task manually. However, for the time being, the fact that it doesn’t accurately show the data is a deal breaker.
Here’s hoping the code will evolve to address that!
Pingback: This Week in Ontario Edublogs – doug — off the record