3

I am using the following bar chart template, code mostly unchanged (but with my own tsv file obviously)

http://bl.ocks.org/mbostock/3885304

It works for me, with only one problem:

When I click on the bar for -say- "A", I want to be taken in a page called A.html

How can I do this? I have played with .onclick and .on("click", ...) for a long time, trying to get the name of which bar was clicked, searched for solution internet, nothing.

Please help me out of this, I am stuck... And my project depends on it

Kurkosdr
  • 31
  • 1
  • 3

0 Answers0