zcanter / aframe-scatterplot

A-Frame 3D scatterplot component
MIT License
21 stars 7 forks source link

Feature Request: Point labels #10

Open harsgak opened 7 years ago

harsgak commented 7 years ago

Can you add point labels on hover? This tool aframe-scatterplot, allows visualization of the dataset in 3D and helps in qualitatively understanding the data. But as I am scanning the plot moving around in 3D, I want to be able to point to a particularly interesting data-point and see its attributes. Something like this. If some point directly in line of sight [or on mouse hover] it should light up a point label.

Do you think this is possible? With this feature I could switch completely from matplotlib for viewing my 3D scatter plots.

harsgak commented 7 years ago

I considered using <aframe-cursor> more specifically aframe-mouse-cursor but I cant figure out how to access a point from the scatter plot. I was going to try to add something like onHover point.showLabel() for each point.

But looking through your code the points seem to be rendered as some ThreeJS vertex objects. Please correct me if I am wrong. I have no idea how ThreeJS works so I am stuck right now.

zcanter commented 7 years ago

Point labels would be a great addition! I will work to add those. It will have to be completed after I take the GRE mid next month. It is a great idea though and will be first on the list!

harsgak commented 7 years ago

You should check out plotly.js . They have now open sourced the plotting library. As per my knowledge they currently do not dabble in VR directly. If you are open to dependencies I think you can directly use their library as a back end. Or you may directly contribute to their library your VR implementation. Cheers.

zimmerzam commented 6 years ago

I would also be interested in this. Can you share any news about the development of this feature? Thanks a lot for your work! Cheers

zcanter commented 6 years ago

Hey unfortunately I'm not really working on this anymore. Perhaps in a few months when I start graduate school I can incorporate it into a more robust project. Until then, it is highly unlikely I will put time towards it.