Skip to content

Search functionality on labels? 👀 #121

Answered by flekschas
zacrafidi asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately, there isn't any built in functionality for that as regl-scatterplot is a bit more "low level" than Tensorflow's Projector app.

Having said that, it should be fairly simple to implement this yourself depending on your data source and structure. For instance, you could index the point labels with something like a TRIE or DAWG (e.g., https://github.com/mckoss/dawg) for fuzzy string matching and then use scatterplot.select(pointIndices).

If you happen to work in with Python, there's a sister application called jupyter-scatter, which integrates into the Pandas ecosystem. That integration makes searching for data points fairly simple.

import jscatter
scatter = jscatter.Scatter(data=

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@zacrafidi
Comment options

Answer selected by flekschas
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants