loading...

re: I made coronavirus spread timeline VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thank you, SHARAD, do you have some improvement ideas? I plan to make transitions more smooth and I also want to add trend lines
 

I think you should add that stat stuff to the map image parts as it will be better unlike the use of original map for showing the stats or opening a new page .... I'll also suggest using service worker and cache to fetch the data in the background as it will help in smoothening of the transitions because data will be already present.

I think you should add that stat stuff to the map image parts as it will be better unlike the use of the original map for showing the stats or opening a new page

I am not sure what you are referring

I'll also suggest using service worker and cache to fetch the data in the background as it will help in smoothening of the transitions because data will be already present.

Once the transition is started, data is already presented, it's not heavy operation. I am not sure if you are familiar with observablehq runtime which I am using. I will need to tackle it to make the animation smoother

Well I should open it on PC for better understanding

Basically it's Jupiter notebook for javascript. Dependent cells are executed automatically. So, every tick means new cell -> code snippet execution, so basically the whole map redraws. Instead, I want to retrieve map reference, add smooth redraw function and invoke it on each animation tick

code of conduct - report abuse