1
$\begingroup$

I need to construct an interactive clustering plot. Ideally as the user zooms in the clusters would split-up into smaller clusters at certain zoom levels.

I am planning to have several discrete levels of clustering, and the plot would visualise each depending on the zoom-level the user is at.

I'm not that sure how to approach this. Are there any python packages that can help?

Any advice appreciated.

$\endgroup$
1
  • $\begingroup$ Interested in a non-Python answer? $\endgroup$
    – Edmund
    Sep 23 at 21:05
0
$\begingroup$

I sorted this using a Jupyter package called ipyleaflet, which is a python plugin to the javascript mapping library leaflet.

You can add/remove layers from the map while the widget is running, which is exactly what I needed.

$\endgroup$
1
  • $\begingroup$ It would be great if you can also give a sample example. $\endgroup$ Sep 25 at 10:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.