This map uses Mapbox GL JS to display data from the USGS Earthquakes GeoJSON feed. The map updates every 2 seconds and the popups tell you approximately how many minutes ago the earthquake was recorded.
Things I could add to this map to make it more complete that you should totally do by remixing this project on Glitch: a legend, more info in the popup, zoom to features.