ISSS608 AY2020-21_T2 Visual Analytic DataViz Makeover3

Description: Visualisation Report: Armed Conflict in South-east Asia

Authors

Affiliations

Jihun NAM

 

 

Published

March 21, 2021

DOI

1. Overview

This post will show how to visualise the spatio-temporal patterns of armed conflict in selected South-east Asia countries between 2015-2020. The original chart can be found at South-east Asia Armed Conflict Analysis Firstly, we will criticize the original charts then show how to make better visualization from the same data set.

1.1. Original chart

Original visualisation

In this Analysis, below codebook and data files were used for analysis.

1.2. Skim of raw data

Table 1: Data summary
Name raw_df
Number of rows 38244
Number of columns 29
_______________________
Column type frequency:
character 16
numeric 12
POSIXct 1
________________________
Group variables None

Variable type: character

skim_variable n_missing complete_rate min max empty n_unique whitespace
EVENT_ID_CNTY 0 1.00 4 8 0 38244 0
EVENT_TYPE 0 1.00 5 26 0 6 0
SUB_EVENT_TYPE 0 1.00 5 35 0 25 0
ACTOR1 0 1.00 7 107 0 314 0
ASSOC_ACTOR_1 28700 0.25 7 1213 0 1336 0
ACTOR2 12558 0.67 7 97 0 274 0
ASSOC_ACTOR_2 27948 0.27 6 390 0 998 0
REGION 0 1.00 14 14 0 1 0
COUNTRY 0 1.00 4 11 0 8 0
ADMIN1 0 1.00 3 47 0 252 0
ADMIN2 20 1.00 3 26 0 1295 0
ADMIN3 2917 0.92 2 28 0 3370 0
LOCATION 0 1.00 2 30 0 6573 0
SOURCE 0 1.00 2 168 0 2166 0
SOURCE_SCALE 0 1.00 5 25 0 20 0
NOTES 0 1.00 30 1609 0 36441 0

Variable type: numeric

skim_variable n_missing complete_rate mean sd p0 p25 p50 p75 p100 hist
ISO 0 1 4.445500e+02 264.34 104.00 1.040000e+02 6.080000e+02 6.080000e+02 7.640000e+02 ▇▃▁▇▆
EVENT_ID_NO_CNTY 0 1 4.494230e+03 3117.74 1.00 1.734000e+03 4.091500e+03 7.027000e+03 1.127400e+04 ▇▆▅▅▃
YEAR 0 1 2.016310e+03 2.91 2010.00 2.014000e+03 2.017000e+03 2.019000e+03 2.020000e+03 ▃▃▆▇▇
TIME_PRECISION 0 1 1.060000e+00 0.28 1.00 1.000000e+00 1.000000e+00 1.000000e+00 3.000000e+00 ▇▁▁▁▁
INTER1 0 1 3.200000e+00 2.06 1.00 1.000000e+00 2.000000e+00 6.000000e+00 8.000000e+00 ▇▂▁▅▁
INTER2 0 1 2.920000e+00 3.07 0.00 0.000000e+00 1.000000e+00 7.000000e+00 8.000000e+00 ▇▂▁▁▅
INTERACTION 0 1 3.175000e+01 19.96 10.00 1.200000e+01 2.700000e+01 6.000000e+01 8.000000e+01 ▇▃▁▅▁
LATITUDE 0 1 1.174000e+01 8.64 -10.17 6.570000e+00 1.336000e+01 1.794000e+01 2.773000e+01 ▂▁▇▇▅
LONGITUDE 0 1 1.080200e+02 11.73 92.20 9.796000e+01 1.018600e+02 1.209800e+02 1.408600e+02 ▇▂▃▂▁
GEO_PRECISION 0 1 1.490000e+00 0.56 1.00 1.000000e+00 1.000000e+00 2.000000e+00 3.000000e+00 ▇▁▆▁▁
FATALITIES 0 1 6.700000e-01 2.97 0.00 0.000000e+00 0.000000e+00 1.000000e+00 2.430000e+02 ▇▁▁▁▁
TIMESTAMP 0 1 1.578913e+09 14870918.64 1552576414.00 1.567539e+09 1.579013e+09 1.591125e+09 1.604424e+09 ▅▃▃▇▂

Variable type: POSIXct

skim_variable n_missing complete_rate min max median n_unique
EVENT_DATE 0 1 2010-01-01 2020-10-31 2017-04-13 3911

1.3. Data columns of raw data

1.4. Final Dashboard

Final Dashboard (Tableau link)


2. Critique of the original charts

2.1. Clarity

2.2. Aesthetics

2.3. Interactive

3. Alternative suggestion of the graph

3.1. Sktechs of graphical presentation and advantages

1) Sketch1 - Dashboard

  1. In order to show the simliar level of “Event Type”, we can paint in similar colors within the same “General type”: “Violent events”, “Demonstrations”, and “Non-violent actions”.

  2. In order to compare not only the number of events, but also the number of fatalities, we can create stack bar charts by countries and years. By doing so, we can easily recognise the changes in time at a glance.

  3. We can make filters of “Year” and “Event Type” to compare values easily.

  4. The range of x-axis is uniform, so readers also can easily compare the values at a glance.

  1. Show differences in the number of events, we can place different sizes of dots according to the number of events occured on the locations.

  2. Also, put filters of “Year”, and “Event type” on the right handside to see the specific information.

2) Sketch2 - Tooltips

  1. Bar charts’ tooltips: In order to show the trend of the number of events occured and fatalities, put a line graph in a tooltip function.

  1. Map’s tooltip: In order to show every elements in each location information clearly, put related fields and values into toolbox.

3.2. Final dashboard of visualisation using Tableau.

All the charts we designed above were rearranged for one cleaned dashboard.

Go to the Final Dashboard -> Final Dashboard

4. Step-by-step preparation of visualization

4.1. Upload raw data set in Tableau

4.2. Make necessary fields clean and transform for analysis

  1. Move up “Latitude” and “Longitude” filed from Measure pannel to Attribute pannel.

  1. Create a Hierachy “Region”, “Country” and “Adminn1” field for geospatial analysis.

  1. Make sure to change ’Admin1" field type to “Geographic Role” > “State/Province”.

  1. Create a group for aggregate “Event Type” for further analysis".

4.3. Create Map chart to show geospatial analysis

  1. Put all necessary fields into Pannel as below.

  1. Put “Country”, “Event Tpye”, and “Year”. Then click “Show Filter” to see in the filter pannel

  1. Go to legend area and change title of “Event Type” legend

  1. Go to “Year” legend and click small triangle right corner, then click “Single Value (slider)”

  1. Go to Tool tip menu in “Marks” pannel and edti as below

4.4. Create bar chart to show trend of number of events comapring by countries

  1. Put all necessary fields into Pannel as below.

  1. Click “Show Filter” to show in the filter pannel.

  1. Right click x-axis and click “Edit Axis” then delete “Title”.

  1. Right click label of columns, “Event Date”, and check “Hide Field Labels for Columns”

  1. Go to filter and change the legend title

  1. Right click title, “Sheet 2(2)” and check “Hide Title”

  1. Sort “Country” by “CNT(sheet1)” field

  1. Go to filter pannel and click small triangle in “Year” filter. Then check “Multiple Values (dropdown)”

  1. Change order of “Event Type” by clicking “Sort” > “Manual” option.

4.5. Create bar chart to show trend of number of fatalities comapring by countries

  1. Duplicate “No of Event” sheet we created above, and rename “No of Fatality”

  1. Drag and drop “Fatalities” measures onto “CNT(Sheet1)” to change the target value.

  1. Again go to x-axis and right click. Then delete “Title”.

4.6. Create tooltips for trend of number of events and fatalities

  1. Duplicate “No of Event” sheet we created above, and rename “No of Event_tooltip”

  1. Click “+” sign and extend fileds to “Month”

  1. Drag and drop all fields as below Then change graph type to “Line”

  1. Drag and drop “Event Type” and “CNT(Sheet(1))” onto “Label” in Marks. Click “Label” button and change setting as below.

  1. Duplicate above sheet and rename to “No of Fatality_tooltip”. Then change “CNT(Sheet1(1))” to “Fatality” in Rows.

  1. Go back to “No of Event” sheet and click “Tooltip”. Then type as below.

  1. Go back to “No of Fatality” sheet and click “Tooltip”. Then type as below.

4.8. Create Dashboard

  1. Put all necessary fields into Pannel and readjust size of each chart as below.

  1. Click “More option” in “Year” filter and go to “Selected Worksheets…”

  1. Select every worksheet as below.

4. Do the same action as above for “Event Type” filter in “1. The number of armed conflict events and fatalities (Jan 2010 to Oct 2020)”

  1. Other filters in “2. Location and the number of armed conflict events (Jan 2010 to Oct 2020)” do not need to change filter setting.

5. Major observations

5.1. The number of events and fatalities by country and year

We can observe that the number of armed conflict events and fatalities changed over time. In Philippines, especially, we can see the trends decreasing over time in “Violence against civilians”. The number of fatalities was also dcreased between 2016 and 2020. However, “Protests” in Indonesia show an increasing trend from 2016 to 2020.

5.2. Frequency of the events occured in the same place (average)

Armed conflict events have taken place in various places in each country. we want see how often events occured in one location. As seen the table below, the value can be calculated as “The number of locations events event occured” divided by “The number of locations events event occured(Distinct)”. By using the value, we can observe that “Protests” occured more frequently in the same place than other events in Philippines and Indonesia. However, in Myanmar, “Battles” occured more frequently in the same place than other events.

The END


Footnotes