DataViz Makeover 02

This blog is creating a data visualization of public willingness for Covid-19 vaccination. There are two main charts, which I use: Diverging Stacked Bar Charts and Error Bar on a Dot Plot

Dan Hai http://linkedin.com/in/dan-hai-1283091b4
02-09-2021

1. Critique of Data Visualization

1.1 Clarity

1.2 Aesthetic

Way to Improve Current Design

1.3 Improve from Clarity

1.4 Improve from Aesthetics

2 Sketch of Proposed Design

2.1 Sketch

2.2 Advantages of Propose Design

Please view the visualization on Tableau Public

3 Step -by-step Description on Data Visualization Design Process

3.1.1 Data Preparetion for Diverging Stacked Bar Chart

  1. Import Data into Tableau and union all the data

  1. View the column and hide redundant column

  1. Split [Table Name] and render the column name as [country]

Tableau can help us break up the whole column with ’ . ’

Now we get the clean country column.

  1. Use Create Calculated Field to redefine [vac_1]

When creating score column, I changed Strongly Agree to the lowest value, 1, and then increased it to the highest value, 5. The purpose is to present strongly disagree and disagree in the negative region

Formula is 6-int(left([vac_1],1)). The reason for using this formula is that I want strong disagreement and agreement to be shown as negative axis in the diverging stacked bar

  1. Create Number of record, Total count and Percentage column

  1. Create Total count negative, Total count and Gantt Start column

  1. Create Gantt Percentage

Explanation :ZN(expression) returns the expression if it is not null, otherwise returns zero. Use this function to use zero values instead of null values.

3.1.2 Data Visualization for Diverging Stacked Bar Chart

  1. Change score into dimension

  1. Aliases Score and Country Column

Now we can see that in this score column 1 stands for Strongly Disagree and 2 stands for Agree. At the same time, we revised the first capital letter of each country, which make it looks more formal.

3.Drag score to Fliters, Grand Percentage to Column and country to Row

At the same time of this step, we set Chart as Gantt Bar.

4.Drag Percentage to Size and Country to Detail

While we are doing this, we set up the colors and choose an appropriate theme for color.

  1. Add household size, gender and employment status to dig insight information

Finally, it was found that household size had an obvious impact on attitudes towards vaccines,so we retained this Filters.

3.2.1 Data Preparation for Uncertainty Bar Chart

  1. Creating Calculated Fields and Parameters

3.2.2 Data Visualization for Error bar on a Dot Plot

1.Add score to filter to exclude NULL variable

2.Prop is added to Columns and Country is added to Rows

  1. Add measure value to the black above country.Then Measure Values is added to columns. The next step is , remove all items except for AGG(Prop_Lower Limit 95%) and AGG(Prop_Upper Limit 95%) under the Measure Values pane.

  1. Move the Measure Value in front of Prop. Then click on the down arrow on Measure Values and select dual axis.

  1. Change the Measure Values in the mark section into chart, and drag Measure Name in the the icon path

Dashboard

1.Add title:

First graph add title : “Willingness of the public on Covid-19 vaccination from different countries and household size” with green background

Second graph add title : “Percentage of Strongly Agree with 95% CI” with green background

2.Add commentary:

On the top and add text: “If you want to compare the influence of household on the attitude towards vaccines, you can use filter function. We observed that in France, the smaller the household, the more negative the attitude towards vaccines”

3.Add source:

Using Objects > Text > drag to bottom left and add : ““Source: Imperial College London YouGov Covid 19 Behaviour Tracker Data Hub (https://github.com/YouGov-Data/covid-19-tracker)”

4.Add author:

Add text to bottom right corner and add text : “Author: Dan Hai”.

4. Final Visualization

4.1 Snapshot of Dashboard

4.2 Main observations

  1. As can be seen from diverging stacked bar chart, compared with other countries, the percentage of French people who strongly agree is the highest.

  2. Also in the stacked bar chart, it can be seen that the United Kingdom has the highest degree of acceptance of vaccines, because the bar chart is on the far right, and the proportion of strongly agree is also the highest, followed by Denmark

  3. As can be seen from the second Proportion chart, the United Kingdom has the highest degree of Strongly Agree, Japan has the lowest degree of Strongly Agree. And South Korea and Netherlands have the widest confidence interval, which are range from 24% to 27% and range from 39% to 44%.