embedding-atlas icon indicating copy to clipboard operation
embedding-atlas copied to clipboard

Add labels for higher zoom levels

Open do-me opened this issue 5 months ago • 3 comments

I recently created a large visualization with 3M points. You probably invested a lot of work in the defaults for all viz parameters as generally they produce great results.

The only thing I'd like to suggest is to add even more labels to clusters at higher zoom levels. At the moment from what I can tell you have two "levels" (5 and 10) for which you calculate labels depending on the zoom level. Here is an example where I have some very dense areas/clusters I'd like to label too.

Image

These labels could maybe also be generated on the fly when a user zooms there.

I discovered a few hard-coded values in a svelte component, e.g. this filter:

https://github.com/apple/embedding-atlas/blob/0630e2fcf8f50984647c4c52a15b4e4fd2f532a3/packages/component/src/lib/embedding_view/EmbeddingViewImpl.svelte#L575

Would setting this value lower to like 0.001 potentially fix my issue or should I look at other parameters?

Also, could you add Dev instructions, how to compile all the code and run it with the modifications for testing?

P.S. Could you open GitHub discussions for this repo?

do-me avatar Aug 05 '25 12:08 do-me