Public
Readme
Earthquake map 🌏
This val loads earthquake data from USGS, a topojson file for the land shape, and supporting libraries. It then creates a map and save it as a SVG string. The result is cached for a day. Note that we must strive to keep it under val.town’s limit of 100kB, hence the heavy simplification of the land shape. (For a simpler example, see becker barley.)
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
fil-earthquakes.web.val.run
Updated: April 22, 2024
@TFayyaz was asking for observable plot examples on twitter and I wanted to link here, but this val is now returning an error:
Weird; thanks for flagging! I moved from esm.sh to jsdelivr.net and that fixed it.
Thanks!!