Navigate on click of graph axis labels

I am trying to navigate to a link on click of axis labels in bar graph using react plotly