Skip to content

ramannanda/Traffic-Visualization

Repository files navigation

Traffic-Visualization

Experiment using D3 / Service Workers

An attempt to create a live D3 visualization that would recieve push events from a remote server. The goal was to use a service worker as an abstraction for a live production environment.

Setup

  • npm install
  • npm start

Screenshot

Observations

  • Initally thought I could push data out at an interval from the service worker and have the page recieve these events, but i don't think that's possible. I fell back on the client polling a endpoint that would be intercepted by the Service Worker - Stack Overflow
  • D3-Hexgrid is an amazing library. The only feature I would love to see would be allowing incremental updates (which is a feature requested by an upstream dependency: d3-hexbin) - Github

Links / Inspiration

About

Experiment using D3 / Service Workers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published