# Add hyperlinks to plot data

**URL:** <https://community.plotly.com/t/add-hyperlinks-to-plot-data/3827>\
**Category:** 📊 Plotly Python\
**Created:** [April 3, 2017, 10:56pm UTC](https://community.plotly.com/t/add-hyperlinks-to-plot-data/3827 "2017-04-03T22:56:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zechari.tempesta](https://avatars.discourse-cdn.com/v4/letter/z/ba8739/32.png) [@zechari.tempesta](https://community.plotly.com/u/zechari.tempesta)\
**Post date:** [April 3, 2017, 10:56pm UTC](https://community.plotly.com/t/add-hyperlinks-to-plot-data/3827/1 "2017-04-03T22:56:43Z")

</div>

Is it possible to add a hyperlink to data points in a scatter plot or bars in a bar plot using the python api?

Basically, i’d like to bring up another plot/dashboard/report when plot data is clicked. Unfortunately the ‘Click Events in Python’ section of the documentation is not very helpful.

Thanks!

---

<div class="post-metadata">

**Author:** ![jjjhixon](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jjjhixon](https://community.plotly.com/u/jjjhixon)\
**Post date:** [February 9, 2019, 2:27pm UTC](https://community.plotly.com/t/add-hyperlinks-to-plot-data/3827/2 "2019-02-09T14:27:11Z")

</div>

I also have this question. I am an experienced SAS programmer and have developed many HTML dashboards with interactivity that depends on the ability to click on plotted points or other plot objects to jump to other HTML files. SAS makes this very easy. Adding one simple command to plots, such as “html=pre-defined-text-variable”, where the text variable is an HTML link defined in the data set for each point, will create links for each plotted point to the pre-defined HTML references. When will DASH/Plotly add this ability? Until such a method exists, plotly will never be able to replace most of the work that is so easily accomplished in SAS.

---

<div class="post-metadata">

**Author:** ![jmmease](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/jmmease/32/3706_2.png) [@jmmease](https://community.plotly.com/u/jmmease)\
**Post date:** [February 11, 2019, 11:28am UTC](https://community.plotly.com/t/add-hyperlinks-to-plot-data/3827/3 "2019-02-11T11:28:12Z")

</div>

Hi @jjjhixon,

It is possible to respond to click events in Dash. See [https://dash.plot.ly/interactive-graphing](https://dash.plot.ly/interactive-graphing). So you could use the `webbrowser` module to open url’s in response to click events. If you have more specific questions, please use the Dash forum category.

Thanks!  
-Jon
