Main insights FATALITIES and INJURIES: Two sorted lists split by severe weather events and by number of affected people.
injuries
## EVTYPE INJURIES
## 1 TORNADO 21765
## 2 FLOOD 6769
## 3 EXCESSIVE HEAT 6525
## 4 LIGHTNING 4631
## 5 TSTM WIND 3630
## 6 HEAT 2030
## 7 FLASH FLOOD 1734
## 8 THUNDERSTORM WIND 1426
## 9 WINTER STORM 1298
## 10 HURRICANE/TYPHOON 1275
## 11 HIGH WIND 1093
## 12 HAIL 916
## 13 WILDFIRE 911
## 14 HEAVY SNOW 751
## 15 FOG 718
fatalities
## EVTYPE FATALITIES
## 1 EXCESSIVE HEAT 1903
## 2 TORNADO 1545
## 3 FLASH FLOOD 934
## 4 HEAT 924
## 5 LIGHTNING 729
## 6 FLOOD 423
## 7 RIP CURRENT 360
## 8 HIGH WIND 241
## 9 TSTM WIND 241
## 10 AVALANCHE 223
## 11 RIP CURRENTS 204
## 12 WINTER STORM 195
## 13 HEAT WAVE 161
## 14 THUNDERSTORM WIND 131
## 15 EXTREME COLD 126
Visualize the insights, total injuries by severe weather events.
fatalities_Plot <- qplot(EVTYPE, data = fatalities, weight = FATALITIES) +
geom_bar(colour = "darkgreen",
fill = "darkgreen",
binwidth = 1)+
scale_y_continuous("Nb of Fatalities") +
theme(axis.text.x = element_text(angle = 40,
hjust = 1)) + xlab("Weather Type") +
ggtitle("Total Fatalities by Severe Weather\n Events\n 1995 - 2011")
fatalities_Plot
injuries_Plot <- qplot(EVTYPE, data = fatalities, weight = FATALITIES) +
geom_bar(colour = "darkblue",
fill = "darkblue",
binwidth = 1)+
scale_y_continuous("Nb of Injuries") +
theme(axis.text.x = element_text(angle = 40,
hjust = 1)) + xlab("Weather Type") +
ggtitle("Total Injuries by Severe Weather\n Events\n 1995 - 2011")
injuries_Plot