title: D3.js Make the bars of a bar chart clickable (and make them link to an html page with same name as bar)
body: <p>I am using the following bar chart template, code mostly unchanged (but with my own tsv file obviously)</p>
  
  <p><a href="http://bl.ocks.org/mbostock/3885304" rel="nofollow">http://bl.ocks.org/mbostock/3885304</a></p>
  
  <p>It works for me, with only one problem:</p>
  
  <p>When I click on the bar for -say- "A", I want to be taken in a page called A.html</p>
  
  <p>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.</p>
  
  <p>Please help me out of this, I am stuck... And my project depends on it</p>