# Link to a subpage when click on bar chart

**URL:** <https://community.plotly.com/t/link-to-a-subpage-when-click-on-bar-chart/21687>\
**Category:** Dash Python\
**Created:** [April 1, 2019, 7:14am UTC](https://community.plotly.com/t/link-to-a-subpage-when-click-on-bar-chart/21687 "2019-04-01T07:14:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dingx](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@dingx](https://community.plotly.com/u/dingx)\
**Post date:** [April 1, 2019, 7:14am UTC](https://community.plotly.com/t/link-to-a-subpage-when-click-on-bar-chart/21687/1 "2019-04-01T07:14:09Z")

</div>

Hi,  
i have a bar chart shows distribution of some metrics each day, i want a feature that when use click on a specific bar (from some day), it will redirect to a subpage which shows some other graphs.  
how can i achieve this?

thanks in advance.

---

<div class="post-metadata">

**Author:** ![dingx](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@dingx](https://community.plotly.com/u/dingx)\
**Post date:** [April 3, 2019, 9:53am UTC](https://community.plotly.com/t/link-to-a-subpage-when-click-on-bar-chart/21687/2 "2019-04-03T09:53:53Z")

</div>

> [@dingx](#):
>
> how can i achieve this?

any help?  
is there callback when user click on element of a chart?
