Fork of Taiwan Earthquake
This interactive visualization explores Taiwan earthquake data, showing a map of seismic activity and a linked scatterplot to investigate spatial patterns, correlations between magnitude and depth, and temporal trends. The map uses a Mercator projection via `d3.geoPath` with zoom functionality, while the scatterplot offers selectable axes and color attributes. A tooltip provides additional detail, and the visualization includes a legend for clarity. The code leverages D3 v5, TopoJSON for map shapes, and Turf.js, with data sourced from the Taiwan Geophysical Database Management System.
AI-generated descriptionWelcome to my project. The dataset I picked is the earthquake data in Taiwan.
Tasks I want to explore are:
- Where do earthquakes of higher magnitude or depth tend to occur more frequently? In which city or county in Taiwan? In which region of Taiwan?
- Is there any correlation between the magnitude of earthquakes and their focal depth?
- How do the frequency and magnitude of earthquakes vary over time?
The website contains visualizations for other tasks. Please take a look at Tasks 3, 4 and 5.
You could interact with the map and scatterplot by choosing a specific year, the x attribute, and y attribute of the scatterplot and mouse over the dots in the plot.
Things to do:
- Change the color of the heatmap and make it more clear.
- Add tooltip to heatmap.