I have an earthquake data. This is my data frame:
NGDC_damage<-data.frame(x=earthquakedata$ISO_country,y=earthquakedata$NGDC_damage)
I would like to plot them on a histogram via ggplot.
qplot(NGDC_damage[,2],geom="histogram",binwidth = 0.25,
main = "Histogram",
xlab = "Economic Loss(in billion dollars)",
fill=I("blue"),
col=I("red"),
alpha=I(.2),
)
Since most of the data is accumulated in the first bar, smaller bars coming after that look very small, they look like equal to zero.In other words, there are some extreme values, but since the first bar is already vert high, the extreme ones look like only a horizontal line However, I want to show them they are indeed different. although their frequency is small. I am not sure if expressed myself clearly. Please let me know if it is not clear. Any help will greatly appreciated. Thank you all!!!