# Visit URL on click

**URL:** <https://community.plotly.com/t/visit-url-on-click/772>\
**Category:** 📊 Plotly Python\
**Created:** [April 4, 2016, 10:30am UTC](https://community.plotly.com/t/visit-url-on-click/772 "2016-04-04T10:30:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![willemv](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@willemv](https://community.plotly.com/u/willemv)\
**Post date:** [April 4, 2016, 10:30am UTC](https://community.plotly.com/t/visit-url-on-click/772/1 "2016-04-04T10:30:23Z")

</div>

Is it possible to configure a plot so that the user is taken to a specific url when they click on a certain data point?

My intended usage is for bar charts: I’d like to be able to click on a bar and then be taken to a url, each bar being configured with a different url.

I’m using plotly python offline to create divs which I’m embedding in a website.

Is this possible with the postMessage API?
