# PlotlyJS click

**URL:** https://discourse.julialang.org/t/plotlyjs-click/48380
**Category:** General Usage
**Tags:** plotting
**Created:** [October 14, 2020, 6:11pm UTC](https://discourse.julialang.org/t/plotlyjs-click/48380 "2020-10-14T18:11:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Oto\_Brzobohaty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oto_brzobohaty/32/10370_2.png) [@Oto\_Brzobohaty](https://discourse.julialang.org/u/Oto_Brzobohaty)
#### Post date: [October 14, 2020, 6:11pm UTC](https://discourse.julialang.org/t/plotlyjs-click/48380/1 "2020-10-14T18:11:48Z")

</div>

Sometimes I need to get data from figure by clicking on data point. Usually I use

```julia
PyPlot.ginput(n)

```

This approach is not suitable when one work with remote VS Code session where no gui is available.

To this end I love PlotlyJS for its interactivity. Recently I found out that plotly enables to record [click events](https://plotly.com/javascript/click-events/).

It is possible to do it in julia PotlyJS?
