Difference between revisions of "IS428 2016-17 Term1 Assign2 Aaron Mak Kang Sheng"

From Visual Analytics for Business Intelligence
Jump to navigation Jump to search
Line 54: Line 54:
  
  
 
+
For the full interactive visualization, you can go to tableau public at https://public.tableau.com/views/SGworkplaceinjuries2014/Published?:embed=y&:display_count=yes
<div class='tableauPlaceholder' id='viz1474792873231' style='position: relative'><noscript><a href='#'><img alt='Published ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;SG&#47;SGworkplaceinjuries2014&#47;Published&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> <param name='site_root' value='' /><param name='name' value='SGworkplaceinjuries2014&#47;Published' /><param name='tabs' value='no' /><param name='toolbar' value='yes' /><param name='static_image' value='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;SG&#47;SGworkplaceinjuries2014&#47;Published&#47;1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes' /></object></div>                <script type='text/javascript'>                    var divElement = document.getElementById('viz1474792873231');                    var vizElement = divElement.getElementsByTagName('object')[0];                    vizElement.style.width='1370px';vizElement.style.height='2069px';                    var scriptElement = document.createElement('script');                    scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';                    vizElement.parentNode.insertBefore(scriptElement, vizElement);                </script>
 

Revision as of 16:43, 25 September 2016

How to stay safe at work in Singapore

I wanted to see if there are any main factors that cause employees to be injured. So I first started exploring certain factors such as months worked, gender, industry, day of the week, time of the day, the age of victim or weather.

My initial hypothesis for weather was that the temperature fluctuations or rainfall affect the frequency of injuries in certain industries. The initial data set does not consist of weather so I had to gather data from http://www.weather.gov.sg/climate-historical-daily/. To prepare the data, I had to create a new column called date and export the table to a new one. After linking both tables from 2 datasets using the LEFT JOIN function, I’m able to construct a graph.

No of Injuries VS Avg Mean Temp.pngNo of Injuries VS rainfall.png

There’s no clear trend that weather affects it in general. Even after exploring into greater detail by filtering by industries or going to specific days rather than months, there is no correlation at all. So I’ve decided that this hypothesis is proven false and moved on.

I’ve wondered if there’s a relationship between the nature of injuries and the MC Days. I assume that the number of MC days are related to the seriousness of the injury.

Injuries Category by MC Days.png

True enough, some nature of injuries are much more serious than others. I then wondered if they could be split further into more industries.

I wanted to find out if a particular industry has more of a certain nature of the injury and the seriousness of it (which I assume is related to the number of MC days) so I investigated this further in the next few graphs.

Does an industry increases the chances of a particular nature of the injury and the seriousness of it?

MC Days by Industry and Nature of Injury.png

The area of the treemap represents the number of injuries and the shade of blue represents the average amount of MC days which were given. The treemap is categorised by the industry and nature of the injury.

In summary, you can see that most of the injury reports came from the construction industry and the majority of injuries in the construction industry has ‘CRUSHING’ as the nature of the injury. For most of the other industries, ‘CUT_BRUISES’ nature of the injury has the most number of injuries. At a glance, you are able to see that the construction industry seem to be the most dangerous industry, to no one’s surprise.

It is generally true that the nature of the injury determines the No. of MC days given regardless the industry. For example, ‘BLINDNESS’, ‘AMPUTATION’ and ‘CRUSHING’ have a much darker shade that other natures of injury. As such, a good indicator of the seriousness of the injury can be determined by the nature of the injury.

It’s also quite clear that the industry does play a large part in the nature of the injury. For industries that require less heavy manual work such as ‘Wholesale & Retail Trade’ and ‘Accommodation and Food Services’, the majority of injuries come from ‘CUT_BRUISES’. For the ‘Construction’ industry which requires more heavy manual work, ‘CRUSHING’ is the major source of injuries. Another good example would be the industry of ‘Health Activities’ where the majority of injuries come from ‘SPRAINS_STRAINS’.

In conclusion, yes, the industry does play a large role in determining your chances of getting into a particular nature of the injury and as a result, the seriousness of injury can be determined.

Does work experience reduce the chance of an injury?

Extra data preparation is needed for this data because there was no index (row number). I had to add one more column in excel to create a unique identifier for each row so that the scatter plot shows every data point and is not summarised.

No of MC Days by Months Worked.png

With the exception of a few outliers, it does seem that an increase in work experience reduces the incidence of injuries whether by industry or gender.

No of MC Days by Months Worked-zoomed.png

In this zoomed-in version, we can see an even clearer indication that as the employee’s experience increase, the number of injuries decreases.

Consequently, is quite likely that the amount of work experience helps workers to decrease the chances of getting injured.

Does the time of day increase the chance of an injury?

Accidents by Industry and Time.png

From the trellis plot, you can see that there is a spike in injuries just before lunch, 11am, and after lunch, 3pm-4pm.

This happens not just with common injuries such as ‘CRUSHING’ or ‘CUT_BRUISES' but also ‘SPRAINS_STRAINS’. From the trellis plot, you can see that ‘CUT_BRUISES’ have higher peaks in the Manufacturing industry than the Construction industry.


For the full interactive visualization, you can go to tableau public at https://public.tableau.com/views/SGworkplaceinjuries2014/Published?:embed=y&:display_count=yes