someshkar / covid19india-cluster

:microscope: Covid19 India Cluster Graph
https://cluster.covid19india.org
MIT License
989 stars 654 forks source link

Dropdown to select state in state and city filter #183

Open sibeshkar opened 4 years ago

sibeshkar commented 4 years ago

Cluster is getting really crowded and laggy, specially the state and city filters. This will be a dropdown in the sidepanel that limits the graph to a certain Indian state.

ashishdawale20 commented 4 years ago

@sibeshkar - Please assign this to me. I am working on this

ashishdawale20 commented 4 years ago

@sibeshkar - cluster is no more visible on the website instead there is patientdb. Is it going to come back?

sibeshkar commented 4 years ago

It's still live at cluster.covid19india.org

Will be shifted to another section of the main website

kiku511 commented 4 years ago

My initial load for the app is being quite laggy. I assume the time to interact would only increase as the number of nodes increase (which would be exponential?). Have you considered SSR for the initial render?

someshkar commented 4 years ago

We have, the problem being vis.js needs to render it on an html canvas, something that isn't available while the code runs server-side. If you can figure out a way to do it though, feel free to PR :)

ashishdawale20 commented 4 years ago

@someshkar @sibeshkar - Please let me know what do you think about this change? filter

someshkar commented 4 years ago

@ashishdawale20 this looks very good, can you improve the way it looks a little? This would really help with the cluster performance.

ashishdawale20 commented 4 years ago

@someshkar - Modified the look. Sending the PR mfilter

ashishdawale20 commented 4 years ago

PR https://github.com/someshkar/covid19india-cluster/pull/213

ashishdawale20 commented 4 years ago

Please close this ticket