[Solved] Bubble plot of mine quakes [closed]
Edit: Updated to use more meaningful data. The original response is at the bottom. This map… … can be produced with the following code: library(ggplot2) library(maptools) # grab earthquake data [source: USGS Earthquake Hazards Program] url <- “http://comcat.cr.usgs.gov/fdsnws/event/1/query” querystring <- “starttime=2012-01-01T00:00:00Z” querystring <- paste(querystring,”minmagnitude=6″, sep=”&”) # magnitude >= 6 querystring <- paste(querystring,”mindepth=0″, sep=”&”) querystring <- … Read more