Ideas for Improvements

Here are a couple of ideas to put your newly acquired RxJS skills to use and make this little application a bit more interesting:

  • When the user hovers the mouse over an earthquake, offer a pop-up that shows more information about that particular earthquake. One way to do that would be to create a new Observable from the quakes one with just the properties you want to show, and dynamically filter it upon hovering.

  • Implement a counter at the top of the page that shows the number of earthquakes so far today and resets every day.

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.