frontendstudygroup / frontendstudygroup.github.io

Web application for the frontend study group from WomenWhoCode Frontend track.
https://frontendstudygroup.github.io/
17 stars 17 forks source link

avatar image and tooltip for bubbles #59

Closed Priyami closed 3 years ago

Priyami commented 3 years ago
Priyami commented 3 years ago

@princiya

59 f5001172cd069f3ba63ceed9795d13a0d90cbf7c

princiya commented 3 years ago

Tooltip rendered on the DOM. Still, it's not perfectly pointed near the bubbles.

I have not tested this PR. but does the tooltip itself appear, and now you want to adjust its coordinates relative to the bubble? then use position:relative for div wrapper. the tooltip itself will be position:absolute and will be relatively positioned to the wrapper bubble.

Priyami commented 3 years ago

https://jarrettmeyer.com/2018/06/21/d3-capturing-mouse-events

-The above link shows how the mouse event captures the coordinates and other mouse events works.

princiya commented 3 years ago

@Priyami there is a merge conflict with Bubblechart.css. when this is resolved, we can merge this PR. Thank you for you work... :)

Priyami commented 3 years ago

@Priyami there is a merge conflict with Bubblechart.css. when this is resolved, we can merge this PR. Thank you for you work... :)

@Princiya Thank you!. This is awesome and I like to learn and do more challenging work like this.

princiya commented 3 years ago

thanks @Priyami . good job 👏