Fork of Final - Earthquakes Linked Views with Brushing on Map
✓ Published1🌍 Public
AAamir Hameed mir
Last edited May 26, 2024
Created on May 26, 2024
This interactive visualization combines a world map and scatter plot to explore earthquake data from the USGS API. Users brush on the map to select earthquakes, which highlights corresponding points in the scatter plot. Map circles display magnitude through size and depth through a color legend, while clicking a circle opens its USGS page. The scatter plot adds tooltips with details. The visualization uses d3-geo projections and geoPath for mapping, d3-brush for selection, and d3-scaleOrdinal for color encoding, with topojson-client for world atlas data.
AI-generated descriptionIn the map
- data from an USGS API
- circle size related to magnitude value
- interaction: click circle and direct to a url
- added color to the circles, according to depth (shallow, intermediate, deep)
- added brush
In the scatter plot
- added tooltip
Interaction:
Use a brush tool on the map to select the earthquakes that you want to display on the scatter plot.
MIT Licensed