Nearest neighbor analysis
Following a tutorial, I performed a nearest neighbor analysis in QGIS using the ‘Distance to nearest hub’ tool. Using the tool, I created a line from each red point (historical earthquake) to its nearest yellow point (populated place).
Tutorial: Nearest Neighbor Analysis (QGIS3) — QGIS Tutorials and Tips