1116 Taiwan Earthquake
This visualization explores Taiwan’s earthquake patterns from 1973 to 2024 using a d3-geoMercator map and an interactive scatterplot. Users can filter by year and select attributes for the x-axis, y-axis, and color encoding, while hovering reveals tooltips. The code uses d3.json and d3.csv to load TopoJSON county boundaries and earthquake records, with d3.geoPath rendering the map. A heatmap additionally shows earthquake frequency across magnitude ranges over time, built with d3.scaleOrdinal.
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.