Difference between revisions of "IS428 AY2019-20T1 Assign Wang Xuze"

From Visual Analytics for Business Intelligence
Jump to navigation Jump to search
Line 40: Line 40:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Join the reports data and Shapefile
+
! style="font-weight: bold;background: #536a87;color:#fbfcfd;width: 20%;" | Join the reports data and Shapefile
 
|-
 
|-
| Inside Tableau, import <i>mc1-reports-data.csv</i> and <i>StHimark.shp</i> into Connections. Perform an full order join by using <i>location</i> in csv file and <i>Id</i> in shp file.  
+
| Inside Tableau, import <i>mc1-reports-data.csv</i> and <i>StHimark.shp</i> into Connections. Perform an full order join by using <i>location</i> in csv file and <i>Id</i> in shp file. <br>
[[File:Data1-1.png|300px|center|Full outer join]]
+
[[File:Data1-1.png|400px|center|Full outer join]]
<br> This produces the following data columns in Tableau.
+
This produces the following data columns in Tableau.
 
[[File:Data1-2.png|800px|center|Data columns]]
 
[[File:Data1-2.png|800px|center|Data columns]]
 
|}
 
|}

Revision as of 22:46, 13 October 2019

Mini-Challenge 1: Crowdsourcing for Situational Awareness


Problem Statement

St. Himark has been hit by an earthquake, leaving officials scrambling to determine the extent of the damage and dispatch limited resources to the areas in most need. They quickly receive seismic readings and use those for an initial deployment but realize they need more information to make sure they have a realistic understanding of the true conditions throughout the city.

In a prescient move of community engagement, the city had released a new damage reporting mobile application shortly before the earthquake. This app allows citizens to provide more timely information to the city to help them understand damage and prioritize their response. In this mini-challenge, use app responses in conjunction with shake maps of the earthquake strength to identify areas of concern and advise emergency planners. Note: the shake maps are from April 6 and April 8 respectively.

With emergency services stretched thin, officials are relying on citizens to provide them with much needed information about the effects of the quake to help focus recovery efforts.

By combining seismic readings of the quake, responses from the app, and background knowledge of the city, help the city triage their efforts for rescue and recovery.

Tasks

  1. Emergency responders will base their initial response on the earthquake shake map. Use visual analytics to determine how their response should change based on damage reports from citizens on the ground. How would you prioritize neighborhoods for response? Which parts of the city are hardest hit? Limit your response to 1000 words and 10 images.
  2. Use visual analytics to show uncertainty in the data. Compare the reliability of neighborhood reports. Which neighborhoods are providing reliable reports? Provide a rationale for your response. Limit your response to 1000 words and 10 images.
  3. How do conditions change over time? How does uncertainty in change over time? Describe the key changes you see. Limit your response to 500 words and 8 images.

Motivations

  1. Provide clear overview of the citizen reports to aid decision making.
  2. Inform the uncertainty and reliability of the citizen reports.
  3. Show how conditions change over time.
  4. Allow effective emergency response to save life.

Data Description

The data includes

  1. A mc1-reports-data.csv file spanning the entire length of the event, containing (categorical) individual reports of shaking/damage by neighborhood over time. It has these fields:
    • time: timestamp of incoming report/record, in the format YYYY-MM-DD hh:mm:ss
    • location: id of neighborhood where person reporting is feeling the shaking and/or seeing the damage
    • {shake_intensity, sewer_and_water, power, roads_and_bridges, medical, buildings}: reported categorical value of how violent the shaking was/how bad the damage was (0 - lowest, 10 - highest; missing data allowed)
  2. Two shakemap PNG files which indicate where the corresponding earthquakes' epicenters originate as well as how much shaking can be felt across the city.
  3. The StHimark.shp provides the geospatial vector data format St. Himark.

Data Preparation

Join the reports data and Shapefile
Inside Tableau, import mc1-reports-data.csv and StHimark.shp into Connections. Perform an full order join by using location in csv file and Id in shp file.
Full outer join

This produces the following data columns in Tableau.

Data columns

Visualisation Techniques

Dashboard navigations

The homepage is the landing page you will see when you use this Visualization tool. This homepage makes use of the Tableau Dashboard and its button functions to enable interactivity.
home page overview

Dynamic Sorting
Description
To present the top neighborhoods with severe damages, I sort the damage level according to the facility specified.

For example, when user selects shake intensity, the data will be in descending order according to the average damage reported about shake intensity.

Dynamic sorting


Technique
  1. Create a Parameter including the list of values we want the sorting to be based on
    Parameters
  2. Create a Calculation Field matching the parameters with the Measures variables
    Calculation field
  3. Show Parameter Control in the worksheet and now we are able to sort
    Para sorting

Question Answering

Task 1

Emergency responders will base their initial response on the earthquake shake map. Use visual analytics to determine how their response should change based on damage reports from citizens on the ground. How would you prioritize neighborhoods for response? Which parts of the city are hardest hit?

Given the damage reports by citizens, the emergency responders could change their response accordingly. As far as I am concerned, they should prioritize the neighbourhoods when:

  1. The average damage level reported is high
  2. The number of reports is large
  3. The damage to important facilities such as medical, roads and bridges, and buildings etc.
  4. The reports of high-level damage are recent

The rationale is that high level damage is more severe compared to lower damage and requires immediate response. Large number of reports would generally mean a more reliable situation on site; thus, the neighborhood should be quickly attended to. The damage to certain facilities requires more urgent attention such as medical facilities where they could be further damage to the patients; and roads and bridges where the transportation for rescue is blocked. Last but not least, they should always monitor the most recent reports and attend to those neighborhoods in time.

Therefore, I created visualizations to allow emergency responders to get the information through the following ways:

Serial No. Observation
1 This visualization allows emergency responders to view the top damaged neighbourhoods during any hour of any date. The damage level is the average of the reported levels during that hour. As a way for emergency responder to access quickly which are the neighbourhoods that have a general high damage level to all facilities, an overall damage field is included by summing up average damage levels of all categories. A sorting feature is provided for them to sort the neighbourhoods based on the damage level of certain facility if they deem it’s more important to firstly attend to those facilities. (addressed 1 and 3)
alt text
2 This visualization allows emergency responders to view the damaged neighbourhoods during any hour of any date, by different colour intensities representing the average damage level reported, according to the reports from citizens. A show damage for filter is provided so that we can choose which facilities’ damage we want to view. In this case, In Northwest during hour 17 on 6 April, there are 48 reports made, and the average medical damage is 8.5. Thus the responders might want to quickly attend to this neighbourhood first. (address 1, 2, 3, 4)
1-2.png
3

Task 2

Use visual analytics to show uncertainty in the data. Compare the reliability of neighborhood reports. Which neighborhoods are providing reliable reports? Provide a rationale for your response.

Since the visualizations prepared for question 1 are mostly using average values, it might be acceptable for emergency responders to gain immediate first-hand insights. However, when we display aggregated data like sum or average, we no longer have any visibility into the variance of the underlying data. Especially that our visualizations are based on crowdsourced data that may lack of reliability and the qualities may vary, since the damage level reports are totally based on citizens’ subjective opinions. The emergency responders need to be fully informed of such uncertainties to access the reliabilities of neighbourhood reports. Therefore, there are uncertainties in the data I would like to address.

These visualizations are provided to understand the uncertainty and reliability of neighbourhood reports:

Serial No. Observation
1 This is an overall heatmap showing the number of reports made by citizens hourly every day for each of the neighbourhoods.

From this heatmap we can identify that the reports are not made consistently. What’s more, there’s background knowledge that there are power outages happening in neighbourhoods like Old Town and Southwest due to Power Department’s work. This will cause delays in the receipt of reports. Certain abnormalities on the heatmap can be explained with additional information, such as that during 8th and 9th hours of 8th April, there were 2200 and 1713 reports made but no reports made for the following 15 hours, and sudden surge in report numbers happened during 1st hour of 9th April. This must be because of the power outage. This neighbourhood should be attended because of the significant number of reports made before the power outage happened. However, information like prolonged period in Scenic Vista without reports made requires more investigation.

Number of reports heatmap
2 This visualization displays the damage level distribution reports by citizen about different facilities during a certain hour in each neighbourhood. Emergency responders could use this to access how much variations are in the different reports. For example: In Broadview during 14th hour on 6th April, the medical damage reports vary a lot whereas roads and bridges damage reports vary little.
Hourly report distribution boxplot
3 To answer Which neighbourhoods are providing reliable reports, I think that the neighbourhoods with many reports and little variation in the data are more reliable. Based on these two criteria, this visualization provides the standard deviation of the reported damages about a certain facility. Together with the number of reports during the hour, the emergency responders could decide whether the data is reliable. For example, In Broadview, the reports during 1th hour with a standard deviation of 3.869 are not reliable compared to those during 9th hour with a standard deviation of 2.429.
Standard deviation of reported damages



4 If we look at the entire view, we can see that some neighbourhoods generally have reports with small standard deviation (lighter colour) like Broadview and Weston. Whereas some others have more darker colour areas indication less reliable reports with large standard deviation, like Pepper Mill and Safe Town.
Overall standard deviation of reported damages


Task 3

How do conditions change over time? How does uncertainty in change over time? Describe the key changes you see. Limit your response to 500 words and 8 images.
With a time-series data set, we can visualize the changes and look for insights into our data. The changes in our case could be analysed based on:

  1. Change in number of reports
  2. Change in reported damage levels


Serial No. Observation
1 This visualization presents a line graph showing how the hourly number of reports vary each day in each neighbourhood. We can filter by neighbourhoods and dates and display only those we want to take a deeper look into.
reports count change

We can see from this visualization that there’s high increase in citizen reports from different neighborhoods on 8 April when the major quake started.

2 This visualization presents a line graph showing how the hourly average damage reported varies in a neighbourhood. From example when we look at Easton, we can see that the damage reported for buildings and power are high since hour 0, whereas the damage for roads and bridges and sewer and water started to increase an hour later. This is probably because that the former can be more directly felt by the shaking of the building, the power outage, but the latter could not be felt after a while.
Reported damage change
3 This finding is as per one which was mentioned in above in Task #2, the malfunction of this Thermostat would be devastating.
Signifiance
The thermostat is responsible for regulating and maintain the internal temperature of the building. You can effectively say that, the readings from the thermostat would control the temperature of the building. There have been instances of it peaking up. The high temperature may potentially cause health hazard for the employee

Conclusion

There are many interesting findings which do not reflect the energy efficiency ability which the builders had claimed to be. The new building does not seem to be as energy-efficient as what was previously advertised. As for the occurrence of Hazium, it is postulated to be caused by the employee themselves. The evidence points towards a deliberate attack towards the CEO himself. As Hazium is a newly discovered chemical, its potential impact on the employees is unknown. Many cautious steps should be taken when investigating the Hazium outbreak. Evident suggest that the culprit seem to be an employee from level 3!
Main Link One tough assignment down, one more project to remaining - https://public.tableau.com/views/MA_3_Final/Home?:embed=y&:display_count=yes
Backup Link This is one tough assignment,I need more backup link - https://public.tableau.com/views/MA_3_0/Home?:embed=y&:display_count=yes

Improvement

Given more time, I will improving on the visualizations by including more statistical methods and reasoning to demonstrate the data uncertainty and reliability. I will also work on improving the interface for the emergency responders and provide them with a much easier and clearer view. Nonetheless, through this assignment, I have learned a lot about interpreting the data, visualization techniques and my analytical ability.

Visualisation Software

To perform the visual analysis, this is a list of the software which I used.

  • Tableau
  • Excel
  • Chrome
  • R Studio


References

  • Dynamic Sorting with Tableau

https://www.clearlyandsimply.com/clearly_and_simply/2011/11/dynamic-sorting-with-tableau.html

  • Using Tableau to Show Variance and Uncertainty

https://www.rittmanmead.com/blog/2017/06/using-tableau-to-show-variance-and-uncertainty/

  • How to Creat Heat Map in Tableau

https://www.youtube.com/watch?v=Tc8VenUN4n8


Comments

Do provide me your feedback!:)