VizWiz

Launch, grow, and unlock your career in data
Showing posts with label spending. Show all posts

March 22, 2021

#MakeoverMonday Week 12 - How much do Americans spend on cereals?

No comments
Time really flew by on today's #WatchMeViz. Before I knew it, an hour had passed, I'd built lots of things, and I hadn't yet decided on my "final" visualization. So instead, I have three this week!

Watch the video here to learn how I built these charts.



Viz 1 - Year over Year Change in Consumption of Food and Beverages in America




Viz 2 - Parallel Coordinates - How much do Americans spend on cereals relative to other products?




Viz 3 - Bump Chart - #MakeoverMonday 2021 Week 12 - How Does Cereal Rank in American Food Spending?


March 25, 2019

#MakeoverMonday: Consumer Spending by Generation

No comments
For week 13, we're making over this viz from Business Insider:


What works well?

  • The generations are sorted from youngest to oldest.
  • The title is clear.
  • The gridlines help guide the eye across the viz.
  • It's easy to compare the general/misc category and the restaurants across generations.
  • A stacked bar chart is easy to understand.

What could be improved?

  • The story in the data, from the article, is about how millennials are spending more on restaurants. It would be good to make that a more obvious focus of the viz. 
  • There are too many colors.
  • While the title is clear, if you don't read the article, you could miss the purpose for the chart.

What I did

I really enjoyed using Google Data Studio last week, so I thought I'd give it another try to continue my learning. Since this was a simple stacked bar chart, I wanted to create a "set" for restaurants vs. all others. I needed to create a calculated field using a case statement that checks the category field. That's it!

From there, it was formatting, which is pretty intuitive as well. I'd highly recommend you give Data Studio a try, especially if you know exactly what you want to build; it's not a data exploration tool.

 

December 23, 2018

Makeover Monday: Spending on Christmas Gifts in America

No comments
We've done it! Another year in the books for Makeover Monday, the most fun project I've been a part of and the largest in the Tableau community (perhaps in data viz as well??). From year one with Andy Cotgreave, to years two and three with Eva Murray, to Makeover Monday the Book, this has been an incredible journey.

I believe Charlie Hutcheson is the only community member to complete all 156 weeks, though Simona Loffredo has only a couple of weeks to catch up on before the end of the year to join Charlie (and me) in the 100% club. As of this writing, Charlie has 307 vizzes on his Tableau Public profile, while Simona has 197. That's an incredible achievement and a testament to their dedication to improve week by week.

It's nearly Christmas Day, so Eva picked a Christmas-themed data set. Let's have a look at the viz:

Original viz by Statista

What works well?

  • It's a line chart based on time, so it's easy to understand what it's telling us.
  • Using one color
  • I kind of like the banding for every other year.
  • Good axis title for the measure

What could be improved?

  • Remove all of the numbers except the first and last years.
  • Add a title
  • Add the data source; surely Statista didn't come up with the data themselves. 
  • Remove the paywall so we can see information about the source and the publisher.
  • Remove the paywall for downloading the data. All you really need to do is type the numbers into Excel anyway.
  • Is there any insight?

What I did

  • Create something simple
  • Supplement with additional data to see if it can add any context. 
  • Looked at year-over-year change
  • Compare the statistics to look for relationships

I found absolutely no relationships between the average spending data and the other metrics. You might see that as a waste of time, but for me, that's part of the analytical process. Just because you don't find something, that doesn't mean the analysis is wasted. It means you have confirmed there is no relationship.

With that, here's my final Makeover Monday for 2018, focusing on the year-over-year change to highlight the Great Recession.

September 10, 2018

Makeover Monday: Spending at Trump Properties in Washington D.C.

No comments
I think it's very safe to say that Donald Trump is the most controversial President ever. This week's data comes from ProPublica, who explain part of the reason why people doubt Trump's commitment to the country over himself:
Since Watergate, presidents have actively sought to avoid conflicts between their public responsibilities and their private interests. Every president since Jimmy Carter sold his companies or moved assets into blind trusts or broadly held investments – until now. Donald Trump never did this, despite his expansive holdings. He stands to gain personally when groups pay his companies. 
Let's start by looking at the chart created by ProPublica:


What works well?

  • Colors are easy to distinguish
  • Good interactivity for additional information
  • Filter options are obvious and easy to use
  • Sizing the blocks gives you relative comparisons
  • Good use of annotations
  • Stacking the blocks makes it obvious there were more records in one month versus another

What could be improved?

  • Using size for the blocks makes exact comparisons difficult
  • Include a title
  • Include a subtitle with additional context
  • Provides the user the ability to ask "How does this affect me?"

What I did

  • I explored the data quite a bit, before focusing on Washington. I did this because I saw a large increase in spending after Trump was elected.
  • Use simple colors like the original
  • Compare spending during the Campaign vs since Trump has been President
  • Use BANs to call out the import information

With that, here's my viz for Makeover Monday week 37:

February 27, 2017

Makeover Monday: How do I use my AMEX?

No comments
Well, this sure was an interesting experiment. Giving up your personal expense data sure opens pandora's box. But, you know, it's all in the spirit of learning.

I received my annual AMEX statement back in January. It included these two charts:



Normally I review what works and what doesn't. However, this week I'm incredibly short on time, so read Eva's review and you'd basically be reading what I would write.

For my viz, I knew I wanted something that I could view on my phone. Nearly every viz I created now, I start with the mobile version. It tends to lead to a better user experience. I drew inspiration from this dashboard by Money Dashboard:


In addition, I wanted to use the blue that in the AMEX Delta gold card. Ok, so without any more bantering, here's my makeover for this week. Clean, simple, tells me what I need to know. Good enough for me!

February 8, 2013

Taking the Kraken to U.S. federal government spending

2 comments

I was watching a video from Simon Rogers the other day about data journalism and how he got started.  During his TEDx talk he showed this bubble chart that he created on government spending in the UK.

image

This reminded me that Tableau 8, the Kraken, now has the ability to create bubble charts.  They’re not quite as sophisticated as what Simon created, they’re more like what you can build with ManyEyes, yet, like most of Tableau’s features, they’re unbelievably simple to build.

I downloaded data about US federal government spending in the 2013 budget from Wikipedia, connected to it with Tableau and within 3 clicks I had my bubble chart.

Clicks 1 & 2 – Select Agency and Total (which is total spending)

image 

Click 3 – Click the packed bubbles option from Show Me

SNAGHTML37ed650d

And here’s what you get:

image

This is pretty boring, so I placed Total on the color shelf and changed the color palette to red-blue diverging and reversed them.

image

That’s about six clicks and I have something pretty interesting.  But that’s not enough for me.  I wanted some interactivity.  A few minutes later and this is what I created:

Is it perfect?  No.  Give it a whirl.

  • Play around with the selectors.  Notice how the sheet colors change from a measure to a dimension.  Download the workbook and see if you can figure out how I did it. 
  • Click on a department in the table to highlight it’s bubble. 
  • Notice how the table sorts based on the spending type you pick.  This makes finding the top few bubbles much easier.

These new bubble charts are going to be pretty useful, though I can totally see them get wildly misused.

July 9, 2010

What's wrong with "visual" spend analytics?

No comments
I've been spending time lately watching lots of videos and attending lots of webinars, with the idea of continuous improvement. Today I watched a recorded session on Tableau Software's website titled "Visual Spend Analytics."

While the content and topic were quite interesting, given I work in the consumer packaged goods industry, I was disappointed with several of the visualizations that the author presented. John used Tableau for all of his demonstration, showing primarily views that were built prior to the webinar. I could tell, given my experience with Tableau, that John made changes to the reports/visualizations that Tableau would create automatically itself. In other words, some very basic best practices were broken.

Let's look at a few examples.

The first slide that caught me off guard, again given that the session was hosted by Tableau, was this pie chart.



While four slices isn't too awful, some of the "standard" design of the pie chart is.

  1. The largest slice should be first and it should start at the zero position.
  2. The legend is in an order that makes sense, but the slices don't match that order.
  3. The colors are way too strong.
  4. The third bullet on the left tells a good message, but if you want to see the true impact of that 97%, you need to start at the zero position.
If you insist on a pie chart, here's a better way to do it that addresses all of the rules I've outlined above, but again, a pie chart is not the most effective way to assign quantitative values to 2-D areas.



99 times out of 100, a bar chart is a better alternative to a pie chart. I would display this same set of data like this. I think this clearly demonstrates that there is high value placed on spend analysis.



A bit farther into the presentation, John was showing a table he built for a client. Let's examine it:



A few issues that I see include:

  1. The title of the graph is black with white font, making it difficult to read and it garners too much attention. A light gray background with a black regular font works better.
  2. The text in the table is blue. Why? What value does it add?
  3. A darker or double line to separate the rows from the total would make the total more distinct.
  4. Numbers (as well as their headers) that represent quantitative values should ALWAYS be aligned to the right. Aligning the data to the right allows for quicker comparisons of the values; it's much easier to find the bigger values.

Towards the end of the session, John showed how you can wrap all of the visualization together in a dashboard. While this makes perfect sense, he wasn't careful enough about the design. Let's look at two examples.
First, let's look at this one titled "Dashboard - Sub-Category":




Again it looks like John overrode the best practices that Tableau has built into it and it has taken away from the presentation of the data.

  1. The dashboard title is meaningless. Every dashboard title should be a statement/phrase that captures the attention of the reader and signals what they are looking at. An example might be: "Expected savings were not achieved in the most recent quarter"
  2. The background is of the entire dashboard is gray, making it difficult to read the black font against it. A white background is nearly always preferred.
  3. As before, the chart titles are black with white font. Choose a light gray background and a regular black font.
  4. Six pie charts. Really? Six? Why not bar charts? The purpose appears to be to show rank, in which case a bar chart is preferred.
  5. Each set of two pie charts can be combined into one bar chart. The results would be three bar charts.
  6. The color shelves and quick filters just seem off for some reason. The placement strikes me as needing cleaning up. I'd have to work on this.
The last dashboard John demonstrated was a map of their office sites.




Neat I guess, but I don't see any value in making it interactive. If this is a banner for a home page, then a guess the layout is ok, but if it's meant to give some useful information, then it needs some work:

  1. When someone views a dashboard, their eyes automatically go to the upper left corner of the chart. The first thing they see here is the company logo. This would be best placed on the upper right.
  2. The contact information should then be shown below the company logo, like he has it, but on the right.
  3. The quick filters should be on the right, whether this is a banner for a home page or not.
Every time I attend a webinar I learn something. While most of them are very well done, there are occasions where the presenter should have asked someone with a significant knowledge of visual data display to review the materials.

As part of the wrap up for the session, John said that the company was delivering "innovative analytics" that position them to be a "value added" vendor. Can they add value? Certainly, but they could add a lot more by following more best practices. Are the analytics "innovative?" I don't think so, but then again, I already work with this same type of information.

September 19, 2009

Katrina Contracts

2 comments
I read a story recently about Halliburton and the incredible number of contracts and money they scored from Hurricane Katrina. Oh by the way, George Bush was President, Dick Cheney was VP and Cheney was CEO of Halliburton from 1995-2000.

That led me to finding how Katrina contracts were being awarded by government Department. It's been tough to identify just which contracts were awarded to Halliburton since most of them are to subsidiaries. I'm working to gather all of those. The data was gathered from the Federal Procurement Data System (FPDS).

This is a very simple analysis, well not really much analysis at all, but in this instance, given the amount of information I want to display, I actually think the pie chart works better. Thoughts?