Image
Code

Ver4 Earthquakes

Ljz2018

Last edited Apr 04, 2024
Created on Mar 27, 2024

Previous

  • use data from an API
  • circle size related to magnitude value
  • interaction: click circle and direct to a url

Now

  • added color to the circles, according to depth (shallow, intermediate, deep)
  • added interaction: zooming (using d3.zoom())
    • Problem: Panning does not work after zoom in
  • added interaction: dragging
MIT Licensed