3 ms·
It is very snappy on my browser, especially for the amount of information that is being presented. How are you using d3plus, build tools, and local storage solu
by mshenfield 11y ago
It is very snappy on my browser, especially for the amount of information that is being presented. How are you using d3plus, build tools, and local storage solutions (or service workers?) to accomplish this?
I haven't explored it too much yet, but I'm enjoying the breadth and succinct presentation of all this information in one place.
- davelandry 11y agoWe use a very aggressive page caching, so that all of the text and statistics are pre-rendered when the page is requested. The visualizations only initiate when they are visible in the window. When that happens, they make an API call for the data and then initialize the D3plus visualization. All of the visualizations use shared attributes, for things like location names and industry colors/icons. Those API calls are stored in the browser using localforage. https://github.com/mozilla/localForage https://github.com/mozilla/localForage