Puerto Rico had a swarm (or sequence) of earthquakes at the end of 2019 and the start of 2020. So far, the largest was a magnitude 6.4 on January 7, 2020. Since around December 28, there have been more than 1000 quakes in the region. Several researchers have made plots of the activity, posting on twitter, facebook and other social media.
Inspired by a post on twitter by Rolando J Acosta, I set up this page to plot the most recent earthquake magnitudes. When you load the page, your browser requests the 2020 data from the USGS filters in a 50km radius of Guanica, it then uses pure javascript, the D3 and Plotly libraries to plot the intensities, so no code runs on the server. If you are patient, the plot should appear below shortly.
Pablo Ampuero (@DocTerremoto) suggested I plot the east/west location of the quakes. Each dot is a quake, sized by the magnitude.
I saw a great 3D visualization by Anthony Lomax. I can't make the same plot (yet?), but have started. I'm moving my 3D plot to another page.
The source code for this application is all available, either on this site, or in the github repository. It's all static html and javascript, you don't need to run anything on the server.
This sequence is still far from over. Many persons in southwest Puerto Rico have lost their homes, or are afraid to enter them. If you want to help, please reach out to local organizations. I can recommend these two sites: