A critique and proposed makeover of the data visualisation of South-east Asia Armed Conflict Analysis published on Tableau Public. The data (South-East Asia) used for the visualisation could be obtained from The Armed Conflict Location & Event Data Project (ACLED).
The original visualisation is as shown below:
The interactive dashboard created could be found here
After loading up Tableau Desktop, select Microsoft Excel, and locate the data file.
On the preview panel, review the data to make sure that the variables are of the correct data type. Since the variable Year will be used for the visualisation, and it is of the wrong data type by default, click on the hash (#) symbol above the column header, which represents Number, and select Date.
On a new worksheet, rename Filled Map, drag Latitude to Rows and Longitude to Columns.
Create a new variable by selecting Create Calculated Field… from the drop down arrow.
Name the variable appropriate and input “1” in the formula field.
The default map generated has Country Names shown. Since the focus is on South-East Asia, and that fill colour will overlap and names, there is no point have the Count Names layer turned on. To remove, select Map > Map Layers on the menu bar then uncheck Country/Region Names.
Drag No. of Armed Conflicts to Colour, Country to Detail, Country again to Label, No. of Armed Conflicts to Label, and Fatalities to Detail. Change the display to Map from the drop-down.
From the preview of the data earlier, it was observed that the variable Year consists of years 2010 to 2020. To limit the filter range to just 2015 to 2020, drag Year to Filters. Select Years and then check 2015 to 2020.
Right-click on same Year on the data panel and select duplicate.
Drag the duplicated Year (copy) to filters, and repear the same selections as above.
To display the filter, right-click on YEAR(Year) on Filters and select Show Filter.
On the drop-down menu of the YEAR(Year) shown, select Only Relevant Values.
Similar, to display the filter for country, drag the Country variable into the Filters panel, then right-click and select Show Filter.
To have the map zoomed into a particular country when selected, hold down Ctrl+Shift+A on the keyboard to open up the Actions window. Select Add Action > Filter.
On the Add Filter Action Window, select Select under “Run action on:”. Under Target Filters, click on the Add Filter… button.
On the drop-down menu of Data Source, select Country. Once down, click on OK, OK on the Add Filter Action window, and OK on the Actions window.
Double-click on the chart title and edit it as shown.
On a new sheet, renamed Event Occurrence, drag the variables Event Type, Sub Event Type, and Event Type again onto Rows.
Right-click on the last Event Type, select Measure > Count.
Drag the CNT(Event Type) to Text in the Marks panel.
Back to the Filled Map sheet, select Worksheet on the menu bar, then Tooltip….
In the Edit Tooltip window, remove the irrelevant information and update the fields as shown.
On a new sheet, renamed “Symbol Map”, similar to the Filled Map, drag Longitude into Columns and Latitude into Rows.
Drag Event Type into Colour, Fatalities into Size, Event Id Cnty, Country, Sub Event Type, and Notes into Detail.
Under Colour, reduce the Opacity to 75% and select grey colour a Border.
Click on the drop down arrow on SUM(Fatalities) on the right panel, and select **Edit sizes…*. Here, increase the size of the points by dragging the slider bar to the right.
Ctrl+Shift+A > Add Action > Filter again. Similar to the previous action, select Select under “Run action on:”, and add Country as the selected field.
Edit the tooltip as shown.
Double-click on the chart title and edit it as shown.
On a new sheet, renamed “Conflicts”, drag Country and Year to Columns and No. of Armed Conflicts to Rows.
Drag Event Type to Colour.
Right-click on the y-axis and select Edit Axis….
Under Scale, check Logarithmic then close the window.
Double-click on the chart title and edit it as shown.
On a new sheet, renamed “Fatalities”, drag Country and Year to Columns and Fatalities to Rows.
Double-click on the chart title and edit it as shown.
First, drag the Symbol Map to the dashboard. Next, place Conflicts below Symbol Map and Fatalities below Conflicts. Finally, drag in Filled Map on the left of Symbol Map.
Right-click on each of the filters, select Apply to Worksheets > All Using Related Data Sources.
To better enable users to refer to the colour gradient of the Filled Map, right-click on the No. of Armed Conflicts color gradient bar and select Floating. Then, drag it to within the Filled Map area.
From the Objects panel, drag a Text to the top of the dashboard.
Distill is a publication format for scientific and technical writing, native to the web.
Learn more about using Distill at https://rstudio.github.io/distill.
For attribution, please cite this work as
Wong (2021, March 15). Dylan's DataViz Blog: DataViz MakeOver 3. Retrieved from https://dylanwong.netlify.app/posts/2021-03-15-dataviz-makeover-3/
BibTeX citation
@misc{wong2021dataviz, author = {Wong, Dylan}, title = {Dylan's DataViz Blog: DataViz MakeOver 3}, url = {https://dylanwong.netlify.app/posts/2021-03-15-dataviz-makeover-3/}, year = {2021} }