# Is there an Event to handle clicking on a point in a scatterplot

**URL:** <https://discuss.huggingface.co/t/is-there-an-event-to-handle-clicking-on-a-point-in-a-scatterplot/54140>\
**Category:** 🔒 Gradio\
**Created:** [September 8, 2023, 5:01pm UTC](https://discuss.huggingface.co/t/is-there-an-event-to-handle-clicking-on-a-point-in-a-scatterplot/54140 "2023-09-08T17:01:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![boothrob](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@boothrob](https://discuss.huggingface.co/u/boothrob)\
**Post date:** [September 8, 2023, 5:01pm UTC](https://discuss.huggingface.co/t/is-there-an-event-to-handle-clicking-on-a-point-in-a-scatterplot/54140/1 "2023-09-08T17:01:06Z")

</div>

Hi - I’m using gradio Scatterplot to show the results of my K Means clustering of several thousand records. I want to be able to click on one of those points and either open the document in another element, or open a HTTP link to the document. I’ve found out how to do the hoverOver event, but I’m after a click-through really.  
Is this possible within the gradio libraries? MTIA

---

<div class="post-metadata">

**Author:** ![freddyaboulton](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/freddyaboulton/32/32732_2.png) [@freddyaboulton](https://discuss.huggingface.co/u/freddyaboulton)\
**Post date:** [September 8, 2023, 5:12pm UTC](https://discuss.huggingface.co/t/is-there-an-event-to-handle-clicking-on-a-point-in-a-scatterplot/54140/2 "2023-09-08T17:12:22Z")

</div>

Hi @boothrob ! Currently there isn’t. Something we may look into in the future.
