A short description of the post.
| SN | Comments |
|---|---|
| 1 | The colors of each categorical level in the stacked bar chart representing the attitude towards vaccine are not set properly. A diverging palette should be used for variables with a meaningful order type. |
| 2 | The scale of the stacked bar chart representing the attitude towards vaccine is not set properly. For easy comparison, the zero point should be set at the middle of the categorical level that represents the moderate attitude of comments. |
| 3 | For the scatter plot chart, the percentage of strongly agree itself can not provide us a full view on which country is more pro-vaccine. We might also want to know how this result based on sample values could be projected to the population. |
| 4 | For easy comparison, the order of how the countries is represented in these two charts should be the same. |
| 5 | To get actionable insights, in addition to a general understanding of which country is more pro-vaccine, we might want to figure out reasons behind this attitude. |
| SN | Comments |
|---|---|
| 1 | What we would like to show the users at the first glance is an intuitive visual display of which country is more pro-vaccine. A scatter plot with error bar is more suitable for this task and should be more ye catching. |
| 2 | The legend title ”vac 1” has no meaning. Actually, we do not need a legend title. |
| 3 | The legend of the stacked bar chart is too far away and is not nicely presented. |
| 4 | Scale of the x-axis of the two charts are not synchronized with inconsistent x-axis labels across the two charts. The x-axis labels for the left chart is shown as whole number while the right chart us shown to 1 decimal place. |
| 5 | Since we can easily recognise the y aixs of the two charts arrange countries, a field label is not needed. |
| Comments | SuggestedImprovement |
|---|---|
| The colors of each categorical level in the stacked bar chart representing the attitude towards vaccine are not set properly. A diverging palette should be used for variables with a meaningful order type. | A diverging palette should be used for a variable showing the degree of support for vaccines. |
| The scale of the stacked bar chart representing the attitude towards vaccine is not set properly. For easy comparison, A zero point should be set at the middle of the categorical level that represents the moderate attitude of comments. | A zero point should be set at the middle of the “3” categorical level, since it represents the medium degree of support for vaccine among the five. |
| The percentage of strongly agree itself can not illustrate what we are aiming to figure out—which country is more pro-vaccine. | Error bars should be added to the scatter plot to represent probability of agree with confidence interval. |
| For easy comparison, the order of how the countries is represented should be the same. | Order the countries of these two charts similarly. |
| To get actionable insights, in addition to a general understanding of which country is more pro-vaccine, we might want to figure out reasons behind this attitude. | Add additional charts depicting other fields to allow readers to deep dive further into the survey results and figure out reasons behind this attitude. |
| Comments | SuggestedImprovement |
|---|---|
| What we would like to show the users at the first glance is an intuitive visual display of which country is more pro-vaccine. A scatter plot with error bar is more suitable for this task and should be more ye catching. | Make the stacked bar chart showing on the left of the stacked bar chart and the portions of the stacked bar chart highlighted based on the country selected in the scatter plot chart. |
| The legend title ”vac 1” has no meaning. Actually, we do not need a legend title. | Unshown the legend. |
| The legend of the stacked bar chart is too far away and is not nicely presented. | Place the legend adjacent to the stacked bar chart and edit the aliases so that it indicates the support degree to vaccine. |
| Inconsistent x-axis labels across the two charts, where the x-axis labels for the left chart is shown as whole number while the right chart us shown to 1 decimal place. | Synchronised the scale of the two charts and standardised the decimal places across all the axis. |
| Since we can easily recognise the y aixs of the two charts arrange countries, a field label is not needed | Remove the field label. |

Work done: Add error bars into the scatter plot showing the percentage of people that will take vaccine. Add the parameter “confidence level” to allow user select the confidence level they would like to accept. Sorted country in all the charts by probability of positive attitude to vaccine. Synchronize the axis of the charts. Set the color of the stacked bar chart properly. Add interactive action to allow user manipulate the visualization. a) By default, the “infection expectation” and “consequence expectation” charts will not show. It will only show when the user say that he would like to learn more. b) Country(s) will be highlighted in the stacked bar chart if user select the particular country or hover around the particular country in the scatter plot showing the percentage of people that will take vaccine.
Since the data have many field that are not useful for the analytics purpose, delete the extra columns.

Add data sources to tableau
Since each country’s data comprises a separate csv file, keep all the files in a single folder and then connect one of them to tableau, all the files within the folder will show on the files field. We need to remove the file imported first and then double click “new union”, drag all the files into the union creating field.


Then your data source would look like below. We would have only one file that is the union file and a column called table name are automatically generated. In this case, we use it to indicate the country. Right click the header of each column to rename and edit aliases of that measure.


The overall objective of this step is to create a filter that is variable. The filter is controlled by a parameter and allow users to indicate the measure they would like to have a closer look into. By filtering out unwanted observation, users are able to focus on(partition) observations that contain certain measure value and perform analysis on them. This way, we can compare the groups that have different measure value.
First of all, we are going to create a parameter that consist of all the measures grouping by which we would like to have a more detailed analysis. Click the small triangle at the top right corner in the data field of our sheet to create a parameter called “VariableSelection”. Set the datatype to be “string” and allowable values to be list and input the measures in the list editing field.
After that, we need to create a calculation field that identify the variable selected for group comparison.
We are going to check the probability of positive attitude and its lower and higher confidence interval.
First of all, we are going to create a parameter to indicate the confidence level we would like to accept. Click the small triangle in the data field of our sheet, we can create parameters. Set the datatype to be “string” and allowable values to be list and input the value of the list in the list editing field.


After that, we need to create a calculation field called Z that identify the z value of different confidence levels.

Then we are able to calculate the probability of positive views and the error bar. Six calculation fields are need here.







With these calculation fields, we are able to draw our scatter plots now. We drag measure values to columns and country to rows. For the measure values, we only need the CI_lower and CI_higher. Then we drag ProbabilityPositiveView into the graph, “VariableSelected” to the filter shelf and apply it to all worksheets using this data sourse.
Under The “all” mark, we set “VariableSelected” to be the decision variable of detail and set a proper level of opacity under color node; Under the “measure values”mark, we set the graph pattern to line and measure values as the path variable.
As the last step, we set sort country descendingly by ProbabilityPsotiveView.



We are going to calculate the starting point of each level of attitude toward vaccine and let the length of them to be their percentage over the total observation.
Six calculation fields needed here.







We drag country to the rows and “startpercentofeachscore” to the columns. We then set the color determination variable to be “AttitudeVACC” and “VariableSelected” to be detail variable and set the value used to be attribute. Set size determination variable to be “percentageofeachscore”. We aldo neetd to let “startpercentofeachscore” and “percentageofeachscore” computing using attitudeVACC. Since we have applied the “VariableSelected” to all worksheet use this data source, you will see the filter is already there.


Drag the individual graph into the area wanted Add the actions that allow user to manipulate the data visualization. Three actions need here. One is filter action that filter out all value of the infection and consequence charts. Values in these two charts will only show when user selected the country in the AttitudeVACC chart. The other two highlight action will highlight the countries selected or hovered around in the Attitude VACC chart.


