Building a Real-Time Earthquake Dashboard

We’ll be building both server and client parts for an earthquake dashboard application, picking up where we left the application we started in Making a Real-Time Earthquake Visualizer. We’ll build the server in Node.js, and improve our application to make it more interactive and informative.

The screenshot shows how the dashboard will look when we’re finished:

images/quake_dashboard-1.png

Our starting point will be the code from Making a Real-Time Earthquake Visualizer, which we left like this:

 var​ quakes = Rx.Observable
  .interval(5000)
  .flatMap(​function​() {
 return​ Rx.DOM.jsonpRequest({ ...

Get Reactive Programming with RxJS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.