Plotting earthquake data with MapBox and p5.js. Based on this tutorial.
Uses Web Mercator formulas to project the points on the map.
Earthquake data is available here.
- Copy
conf/Config.example.js
toConfig.js
and add your MapBox API key to it. - Run
npm start
to start the web server. - Visit http://localhost:3000 in your browser.
- After making changes, use
webpack
to bundle them.