Public receptivity and perceptions towards COVID-19 vaccinations, Jan 2021
A research team has conducted a study to understand the receptivity of the public towards COVID-19 vaccination. As part of their study, data from the Imperial College London YouGov COVID-19 Behaviour Tracker Data Hub was utilised. From the data obtained, some visualizations were created. The aim of this post is to provide suggestions for improvement of the visualizations as well as to propose other visualizations for further analysis of the data to allow deeper insights to be gleaned.
The original visualizations created by the team is shown below.
Figure 1: Provided Data Visualization
Based on the original data visualization provided, the following are some comments on the clarity and aesthetics aspects of the visualization.
1. Titles of the charts and legends are not well worded
The title of the chart on the left could have been better phrased to reflect the content and key message of the chart.
The horizontal axes could have been better labelled to “Proportion of respondents”.
For the vertical axes, it is unnecessary to have the “Country” axis label as the country labels are self-explanatory.
For the legend, there is no need to label “Vac1” as it is not meaningful to the reader.
2. Colour chosen for categories not intuitive
Colours selected to represent the categorical responses should reflect the nature of the responses.
For example, Strongly agree (1) and Agree (2) should be of the same colour hue but different in tones/shades to reflect intensity (i.e. (1) should be darker/more intense than (2)). Similarly, Strongly Disagree (5) and Disagree (4) should be of the same colour hue but of different tones/shades to reflect intensity (i.e. (5) should be more intense then (4)).
3. Uncertainty in the data was not represented
For the chart on the right, since sample proportion was used, confidence intervals of the sample proportion should be included to allow readers to understand the margin of error in the sample estimates and to interpret if the proportions reflected are statistically different.
4. Inclination and skew of responses not easily observed with 100% stacked bar chart
While the 100% stacked bar chart demonstrates the proportions of the responses for each country, it does not intuitively show the skew and inclination of the responses for each country at a glance. With a diverging stacked bar chart, the inclinations of the responses is more evident.
5. Insufficient data to draw meaningful observations
Both charts essentially reflect countries’ receptivity towards the COVID-19 vaccine. However, no further observations and analysis are available from the charts. In order to glean deeper insights, the data from the variable used (var_1) should be compared with data from other variables for analysis.
6. Bar chart on the right sorted in descending order
For the chart on the right, countries are sorted in descending order of the proportion of the public which had strongly agreed to the statement that they were willing to take the vaccine. By arranging in this manner,it allows easier identification of countries which had a higher receptivity towards the vaccine.
1. Horizontal arrangement of the bar chart
As the bar charts are labelled according to country names, a horizontal mapping of the bar chart allows the countries’ names to be seem in full and in a less cluttered manner than if arranged in a vertical layout.
2. Country names should be in Title Case instead of lowercase
Country names are proper nouns and should be in Title Case instead of the current lowercase used.
3. Consistent use of colours
There was consistent use of colours in both graphs, where dark blue was used to represent the proportion of respondents who had strongly agreed.
4. Consistency in number of decimals on horizontal axes
The chart on the left used whole number labels while the one on the right had labels with 1 decimal place. For consistency and for the charts to look less cluttered, whole number labels could be used.
5. Good choice of font type, size and colour
Font type, size and colour selected in the chart is an appropriate choice as it is easily read by the reader. However, to emphasize key messages of the chart, annotations of different size and colour could be used.
Figure 2: Sketch of Proposed Data Visualization
1. Side by side comparison of responses to different questions
The proposed visualization would include 2 graphs placed side by side with readers having an option to select the questions (variables) for which the charts are representing. This will allow users to compare responses to the different questions and derive deeper insights into the responses.
For example, for a country with high proportion of public willing to take the vaccine, a comparison with their responses to other questions such as “I am worried about getting COVID19” or “I believe government authorities in my country will provide me with an effective COVID19 vaccine” could provide deeper understanding on the motivation of respondents’ receptivity towards vaccination. Application wise, public health authorities would be able to determine if there were any public health messaging that would drive vaccination uptake more than others.
2. Filters by demographical factors to allow deeper analysis
There are also filters for the chart on the left, to allow users to refine the charts displayed by gender, age range, employment status, household size and number of children in households, which may provide interesting insights into possible factors linked to vaccination receptivity and perceptions.
3. Option to select Confidence Intervals for error bars
For the chart on the right, users have the option of selecting 90%, 95% and 99% confidence levels to view the estimated proportions (and their confidence intervals) of respondents strongly agreeing with the respective statements.
4. Use of suitable Title and Write-up
The title and write-up provides context to the visualization and helps the reader understand the utility of the charts.
5. Inttuitive use of colours
For the diverging stacked bar chart on the left, colours with same hues but differing tones are used to represent similar responses (i.e., Dark green for Strongly Agree, Green for Agree, Grey for Neutral, and Red and Dark Red for Disagree and Strongly Disagree). This allows for the reader to interpret the charts more easily and intuitively.
6. Use of error bars to represent uncertainty
To provide an indication of uncertainty of the sample proportion, error bars are used on the right, with varying levels of confidence. This allows the user to have a better understanding of the uncertainty in data shown as well as whether there were statistical diferences in the estimates for the various countries.
7. Diverging stacked bar charts show skew and inclination intuitively
Compared to the 100% stacked bar chart, the diverging bar chart shows skewness and inclination of the proportions more effectively and intuitively. At a glance, the user is able to tell which countries are more or less inclined towards COVID19 vaccination.
8. Both charts sorted by countries’ names in alphabetical order
As the diverging stacked bar chart clearly displays the inclination of the countries, there is no need to sort the error bar chart on the right by decreasing level of willingness. Instead, both were sorted similarly to allow for easy comparison of country data between the 2 charts.
The proposed data visualization is found at the following URL:
https://public.tableau.com/profile/daniel.lin.yongyan#!/vizhome/DatavizMakeover2_1316h/Dashboard1?publish=yes
A screenshot of the visualization is as follow.
Figure 3: Proposed Data Visualization
For the data visualization, the following variables have been selected for use from the datasets.
Figure 4: Selected Variables
Demographical data such as gender, age, household sizes, employment status, and endtime were extracted as well to provide deeper understanding to the profile of the respondents.
Figure 5: Selected Demographic Variables
For each of the country datasets, only the above selected fields were extracted from the original datasets. The below is a screenshot of the selected fields retained from the original country dataset.
Figure 6: Extracted variables from original dataset
For the research, only data from January 2021 was used for analysis and visualization. As such, records of responses that were done in January 2021 were extracted from the dataset. This was done by first applying a date filter in the “endtime” column and selecting the relevant records as follow.
Figure 7: Date filter applied to extract Jan 2021 records
The following is a screenshot of the resulting dataset.
Figure 8: Remaining dataset after extracting Jan 2021 data
For selected fields vac_1, vac2_1, vac2_2, vac2_3, vac2_6 and vac_3, 2 of the data values “1 – Strongly agree” and “5 – Strongly disagree” need to be recoded to numerical values 1 and 5 respectively.
This is done by using the Replace function as shown below
Figure 9: Replacement of 1 - Strongly agree using the Replace function
and
Figure 10: Replacement of 5 - Strongly disagree using the Replace function
Based on the codebook provided (see below), there should not be entries with 7 or 8 in the “household_children” field as these would have been captured under “5 or more”. Rather 8 is supposed to be mapped to “Prefer not to say” and 7 is actually an invalid input value. In some of the countries’ datasets, this has not been properly coded (refer to diagram below).
Figure 11: Error in values of household_children
As such, values 7 and 8 will be recoded to “Don’t know” and “Prefer not to say” as aligned to the value labels in “household_size”. This is done through the use of the filter function as follow.
Figure 12: Rectified values of household_children
For some of the country datasets, employment status is recorded in separate fields as shown in the following figure.
Figure 13: Employment status recorded over separate variables
As such, a new field “employment_status” needs to be created to be consistent with the datasets of the other countries. The formula used to create the new field is as follows.
=IF(G2=“Yes”,“Full time employment”,IF(H2=“Yes”,“Part time employment”,IF(I2=“Yes”,“Full time student”,IF(J2=“Yes”,“Retired”,IF(K2=“Yes”,“Unemployed”,IF(L2=“Yes”,“Not working”,IF(M2=“Yes”,“Other”,0)))))))
Figure 14: Creation of employment_status field
The cleaned file is then saved with country name in Title case format.
The above steps are then repeated for each of the country datasets.
All 14 country files were pulled into Tableau and a new column was created from Table Name via the split function to derive the Country variable.
Figure 15: Split function applied to Table Name field
Figure 16: Creation of Country field
The responses to the various survey questions were then pivoted together into a single field as shown.
Figure 17: Pivoting of survey responses
The pivot fields were then renamed to reflect the data they carry (i.e. Questions and Responses) as shown.
Figure 18: Renaming of Pivoted Fields
For Response, the data currently are continuous data types. They were converted to Dimensions as follows.
Figure 19: Renaming of Pivoted Fields
The data values in Response was then re-labelled with their aliases as shown below.
Figure 20: Editing aliases for Response field
The data in Question field was renamed also to reflect the respective survey questions, for easy reference.
Figure 21: Editing aliases for Question field
Calculated fields needed to be created via the Analysis tab as shown below.
Figure 22: Creation of Calculated Field
Formulae for the respective calculated fields were input as shown below.
Figure 23: Creation of Number of Records field
Figure 24: Creation of Total Count field
Figure 25: Creation of Count Negative field
Figure 26: Creation of Total Count Negative field
Figure 27: Creation of Percentage field
The Diverging Stacked Bar Chart is actually created using a Gantt chart concept. As such the start point of the Gantt chart is defined as follow.
Figure 28: Creation of Gantt start
Figure 29: Creation of Gantt Percent
Figure 30: Creation of Gantt Percent
Bring Gantt Percent into Columns, Country into Rows, Response to the Colour button and Detail button, and Percentage to Size button as shown. Ensure Gantt Percent and Percentage are computed using Response (refer to below).
Figure 31: Creation of Gantt Percent
Change Marks to Gantt Bar as shown.
Figure 32: Create Gantt Chart
Next, bring in the following fields into the Filters panel. For the Response filter, select all except Null to exclude Null responses. For each of the filters, select Show Filter as shown below to get the Filters appearing on the right of the chart.
Figure 33: Creation of Filters (left), select Show Filter (centre), filters appear on the right of chart (right)
Select appropriate colours for the corresponding Response values as shown.
Figure 34: Selection of colours for Response values
Right click on the horizontal axis and select Edit Axis. Select Reversed so that the Strongly Agree appears on the right. Right click on the axis again and select Format. Input the Custom format as shown (0%;#%) to ensure the percentage labels are in positive values for both sides.
Figure 35: Formatting of horizontal axis
Rename the chart by double clicking the title of the chart and editing the title as shown.
Figure 36: Rename title of the chart
First create a parameter called “Select Question” with the following list of values.
Figure 37: Creation of Select Question paremeter
Then create No of Records as shown.
Figure 38: Creation of No of Records
Create a calculated field Strongly Agreed to count the number of respondents who had Strongly Agreed to the question selected (i.e. Question)
Figure 39: Creation of Strongly Agreed field
Now create Prop to compute the proportion who Strongly Agreed.
Figure 40: Creation of Prop field
Next, create Select CI parameter, Prop_SE, Z_value, Prop_Margin of Error, Prop_Lower Limit, Prop_Upper Limit
Figure 41: Creation of Select CI parameter
Figure 42: Creation of Prop_SE
Figure 43: Creation of Z_value
Figure 44: Creation of Prop_Margin of Error
Figure 45: Creation of Prop_Lower Limit
Figure 46: Creation of Prop_Upper Limit
Bring Prop and Country in to Columns and Rows fields respectively.
Figure 47: Bring Prop and Country onto canvas
Pull Measure Values from the Tables Pane to the top of the chart created as shown below.
Figure 48: Bring Measure Values into chart
THe resulting chart is as shown. Remove the fields in the Measure Values pane, leaving behind Prop_Lower Limit and Prop_Upper Limit.
Figure 49: Resulting chart
Figure 50: Chart with only Prop_Upper Limit and Prop_Lower Limit remaining in Measure Values pane
Next, synchornise the horizontal axes as shown.
Figure 51: Synchronize horizontal axes
Change Measure Values to Line as shown.
Figure 52: Change Measure Values to Line
Bring Measure Names to the Path icon to arrive at the following chart.
Figure 53: Bring Measure Names to Path Icon
Figure 54: Resulting Dot Plot with Error Bars
Modify the colour and width of the error bars and the dot plots using the Measure Values and AGG(Prop) panes as shown.
Figure 55: Modification of colour and size of error bars and dot plots
Swap Measure Values and AGG(Prop) in the Columns field for the dot plots to appear above the error bars as shown.
Figure 56: Swap Measure Values and AGG(Prop)
For the 2 parameters created, right click and select “Show Parameter” to display them on the right panel. This will allow users to select the different confidence levels and questions to be displayed on the chart.
Figure 57: Display parameters on the right
Rename the chart by double clicking on the title and editing the title in the window that appears as shown.
Figure 58: Rename title of the chart
Bring the 2 charts from the Sheets panel into the dashboard and place them side by side as shown.
Figure 59: Bring created charts onto the dashboard
Edit the size of the dashboard on the left as shown.
Figure 60: Re-size dashboard
Shift the elements of the dashboard around to arrived at desired layout.
Figure 61: Drag and move elements in dashboard
Right click on the Select CI parameter and select Floating to position the dropdown list at the desired place.
Figure 62: Make Select CI parameter floating
Drag the Text icon to the top of the dashboard to create a title. Key in the title in the dialogue box that follows.
Figure 63: Create title and sub-title for dashboard
Finally add another text box to the bottom to acknowledge the source of the data. The final layout of the dashboard is as shown.
Figure 64: Completed dashboard
1. United Kingdom (UK) had the greatest receptivity towards COVID-19 vaccination
From the figure below, it is observed that respondents from the UK were most inclined and receptive towards COVID-19 vaccination. France on the other hand, seemed to be the least receptive towards vaccination.
Figure 65: Inclination of countries towards vaccination
2. Japan, not France, had the lowest proportion who strongly agreed that they were keen on vaccination From the chart on the right, it would seem that Japan was the least receptive towards the COVID-19 vaccine because of the lowest proportion that agreed strongly to the statement that they were keen on vaccination. However, by inspecting the chart on the left (refer to the orange boxes), it is interesting to note that France was less receptive because of the much larger proportion who strongly disagreed compared to Japan’s. Hence while Japan had a smaller proportion who strongly agreed, they also had a smaller proportion who strongly disagreed compared to France. This is likely arising from cultural differences whereby Japanese are less strong in their opinions compared to the French (with the proportion who are Neutral being twice that of the French).
3. UK and Denmark had significantly higher proportion of respondents who strongly agreed that they were willing to be vaccinated From the chart above (refer to red box), it is observed that UK and Denmark were significantly higher than the other countries at the 99% confidence interval. Countries in the blue region did not have proportions that were statistically different at the 99% confidence level, based on their confidence intervals.
4. Worry of getting COVID does not seem to be a main reason for receptivity towards vaccination From the screenshot below (referring to the blue boxes), countries who were the most receptive towards vaccination did not have very high proportion of respondents who strongly agreed that they were worried about getting COVID-19. On the contrary, Japan which was one of the least receptive, had the highest proportion who strongly agreed they were worried about getting COVID-19. Netherlands and Finland had the lowest proportion who strongly agreed they were worried but their receptivity towards vaccines appear to be among the more receptive countries.
Figure 66: Vaccine receptivity and Worry of getting COVID-19
5. Worry about vaccine side effects seem to affect receptivity towards COVID-19 vaccination From the chart below, it is observed that countries that are more receptive towards vaccination (such as UK, Denmark and Netherlands) have lower concerns towards vaccine side effects. This is evident from the lower proportion of respondents who strongly agreed to the statement that they are worried about vaccine side effects (refer to blue boxes).
On the contrary, countries which are less receptive, have a higher proportion who strongly agreed that they were worried about vaccine side effects. These countries include France, Japan and Singapore.
Figure 67: Vaccine receptivity and Worry of vaccine side effects
6. Confidence in health authorities providing effective vaccines seemed to be linked to vaccine receptivity In the chart below, with focus on the blue boxes, countries which had the highest receptivity towards vaccination (i.e., Denmark and UK) saw a higher proportion of respondents who strongly agreed that they were confident on effective vaccines being provided. The converse is true as well for countries who were least receptive (e.g., Japan and France)
Figure 68: Vaccine receptivity and Confidence in vaccine efficacy
7. Age is an important factor in receptivity towards vaccine In the figure below, it is observed that in general and across all countries, the older population (aged 78-99 years) were much more receptive towards vaccination as compared to the younger respondents (aged 18-39 years).
Figure 69: Comparison of vaccine receptivity between age groups
In conclusion, the side by side comparison of responses, as well as the breakdown by demographic factors, does reveal interesting patterns of receptivity towards COVID-19 vaccination. Public health authorities would gain much from the close analysis of these factors in the planning of programmes and strategies to increase COVID-19 vaccination.