title: Interactive Heatmap / Matrix Visualization
body: <p>I would like to display on a webpage a heatmap (matrix) that I generate in R. 
  The matrix I have looks like this, but in my case the size is 300x300. </p>
  
  <p><img src="https://i.stack.imgur.com/iJsaJ.png" alt="http://2.bp.blogspot.com/-38wWn7KD6v0/TgTJskG1ujI/AAAAAAAAC5g/0k33b0L5fL8/s1600/heatmap.png"></p>
  
  <p>Basically I am looking for an interactive clustering, which would look like this : </p>
  
  <p><a href="http://online.wsj.com/article/SB125993225142676615.html#articleTabs%3Dinteractive" rel="nofollow noreferrer">http://online.wsj.com/article/SB125993225142676615.html#articleTabs%3Dinteractive</a></p>
  
  <p><a href="http://mbostock.github.com/protovis/ex/matrix.html" rel="nofollow noreferrer">http://mbostock.github.com/protovis/ex/matrix.html</a></p>
  
  <p>I would like to be able to clic on a branch which would then highlight the selected group/text, and fade out the rest of the matrix. </p>
  
  <p>I have had a look around and cannot find much. I don't even know what language I should use for this ? JSON, Flash, HTML5, javascript, google charts ?</p>
  
  <p>Any comments and advices would be extremely appreciated here. </p>
  
  <p>Thanks. </p>