Together


Google Data GIF Maker: Not Ready for Prime Time? 1

Interface for Google’s Data GIF Maker, screen capture by @aforgrave

 

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:

Comparing Tweets by Month, 2015, for @BringIT2015 and @ecooWeb, generated with Google Data GIF Maker (GIF is 4.6 MB!)

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.

Comparing Tweets by Month, 2016, for @BringIT2016 and @ecooWeb, generated with Google Data GIF Maker (4.7 MB)

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.

Comparing Tweets by Month, 2016, for @BringIT2016 and @ecooWeb — using + versus %, generated with Google Data GIF Maker (4.6 MB)

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.

Data re-transferred into percentages, for the period January 2015 through to May 2017.

Here is the final result.

Comparing Tweets, Relative Percentage, Jan 2015 to May 2017, for @BringIT2016 and @ecooWeb, generated with Google Data GIF Maker (4.6 MB)

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!

Comparing Tweets, Relative Percentage, Jan 2015 to May 2017, generated with Google Data GIF Maker — GIF frames slowed down. (733 kb! Much better!)

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!

My own data GIF of the same figures, created using Excel and Photoshop, by @aforgrave  (435 KB, and that’s at 256 colours!)

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!