# Positioning tooltip on chart with symbols?

**URL:** <https://talk.observablehq.com/t/positioning-tooltip-on-chart-with-symbols/6158>\
**Category:** Help\
**Created:** [February 2, 2022, 12:46am UTC](https://talk.observablehq.com/t/positioning-tooltip-on-chart-with-symbols/6158 "2022-02-02T00:46:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcweaver](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/jcweaver/32/6091_2.png) [@jcweaver](https://talk.observablehq.com/u/jcweaver)\
**Post date:** [February 2, 2022, 12:46am UTC](https://talk.observablehq.com/t/positioning-tooltip-on-chart-with-symbols/6158/1 "2022-02-02T00:46:46Z")

</div>

Hello! I’ve created a lollipop chart in D3 that displays datapoints at different d3 symbols of d3.symbolSquare, d3.symbolCircle, etc… Because of this, I add them to the svg as paths instead of circles. Previously when I added them as circles (and thus only had circle shapes), I was able to position the tooltip using the results from d3.pointer(event, this). Now this does not work. Any advice?

---

<div class="post-metadata">

**Author:** ![Fil](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/fil/32/207_2.png) [@Fil](https://talk.observablehq.com/u/Fil)\
**Post date:** [February 2, 2022, 10:00pm UTC](https://talk.observablehq.com/t/positioning-tooltip-on-chart-with-symbols/6158/2 "2022-02-02T22:00:40Z")

</div>

Hello, could you share the code as a notebook? (It’s a bit difficult to answer without actually seeing the code.)
