## VizWiz

Launch, grow, and unlock your career in data

## #TableauTipTuesday: Using Measure Names to Update a Parameter

Before parameter actions, we've never been able to use Measure Names in a calculation. This week, I show you how to make a dynamic scatterplot and dynamic line chart by leveraging the power of parameter actions to pass the Measure Names field to a parameter, and thus a calculation.

Thank you to Hesham Eissa and Sara Hamdoun of The Data School for coming up with the solution.

## #MakeoverMonday: Mobile is taking over the global gaming market

After a week on holiday and skipping writing a Makeover Monday blog posts for the first time in 4+ years, I'm back with a topic that I can attest to give my boys' affinity for gaming.

This week's chart is from Statista:

#### What works well?

• The title clearly explains the story in the chart.
• The colors are easy to distinguish.
• The bar chart helps us see the increasing revenue.
• Placing mobile at the bottom of the stacked bars makes it easy to see the increase in the mobile share.

#### What could be improved?

• All of the labels make the chart look quite busy.
• Is the image of the platforms necessary?

#### What I did

• I wanted to look at the relationship of share and revenue over time, which led me to a connected scatterplot.
• I thought it was important to look at each platform independently, so I placed them inside "cards".
• I included BANs based on the estimated revenue for 2021.

Let me know what you think.

## #TableauTipTuesday: How to Compare Ranks within a Dimension with Set Actions

Have you ever needed to compare the rank of items, but only show two of them? For example, you want to show any player compared to Player A. Player A should always be in the view and another play should only be shown when selected.

And, when you display any players, you need to show their rank amongst everyone. This is where set actions come into play.

In this example, I show you how to compare any car to a car that you selected from a parameter. The car you select from the scatterplot appears next to the car selected from the parameter and the overall rank for each car is displayed.

## #MakeoverMonday: The Social Investment of Clinical Trials

This week's viz is from Aero Data Lab analyzes clinical trial registration records from 10 large pharmaceutical companies. Here's how to read it:

1. The trial start date on the x-axis.
2. The disease/condition of interest on the y-axis.
3. Each bubble in the figure corresponds to a trial.
4. The bubble color corresponds to the company
5. The bubble size corresponds to the number of human subjects enrolled.
6. The bubble shape indicates the trial’s current status.

So basically you need to be able to understand quadruple encoding of the bubbles, which is quite difficult. It's very hard to visualize data that is this dense; kudos to the author for giving it a go.

 SOURCE: AERO DATA LAB

WHAT WORKS WELL?
• The article reference provides a good overall analysis of the data.
• Including the trial start dates on the x-axis helps understand when the trial took place.

WHAT COULD BE IMPROVED?
• Too many colors
• The x-axis labels are slanted.
• It's way too long (but I understand why it was designed that way).
• There aren't any legends.
• There are too many shapes.
• The bubbles are trying to do too many things at once.
• Comparisons are very difficult.

WHAT I DID
I had thought about examining the costs, but there isn't an information about the costs, even though the article references it. Instead, I decided to focus on the scale of the enrollees; that is, the number of people participating in each trial.

• I used BANs for the enrollees per pharmaceutical company. I then used this as a set action to highlight that company in the line chart.
• I looked at the enrollees per status, but I don't think that makes sense since it's the latest status.
• The same applies to the phase; it also only shows the latest phase.
• I looked at how many enrollees there have been since the start the first trial for each company.
• I included the enrollees per condition and used a set action for proportional brushing for the company selected.

I'm about to head on holiday for eight days, so I had to get this one out the door.

## #MakeoverMonday: Britain's Reduced Dependency on Coal

For week 32, Eva picked a data set about Britain's progress towards zero dependency on coal power. There have been calls to do this in the US, even policies put into place by the Obama administration, only to have Trump rip them all apart to appease his donors. Slimeball!

WHAT WORKS WELL?
• Great color scheme
• Easy to understand layout
• Good color legend
• Informative title and subtitle

WHAT COULD BE IMPROVED?
• Not much; it's quite fantastic.
• Maybe make it more interactive so you can see the specific values when you hover

WHAT I DID
I wanted to see if I could rebuild this viz because it looks so good and it would be a good learning experience for me. Creating the viz was pretty straightforward. The tricky part was getting the colors to work just right. I did that through a calculation that makes 0% go to -20% so that the color range would be close to the original.

Lastly, I wanted to change the title and subtitle to something different that explains the data better. I pulled some text out of the article by The Guardian.