1

I want to make a heatmap looks like this one in d3 package in javascript, Is that available in R ? i searched for many packages in htmlwidgets but i couldn't find a package do this graph. Help please.

http://bl.ocks.org/ianyfchang/8119685

  • Can't you just replace the data in the code that you referenced? – lukeA Sep 07 '17 at 14:56
  • i dont know how to use javascript codes, if you know away to do that, it would be a great help. i want to use the code and manipulate it with shiny and render it on shiny. – Omar Abd El-Naser Sep 07 '17 at 15:11
  • I don't know javascript either, however, counting 1+1 together one should be able to replace the labels and the data in the source code provided on the referenced site. – lukeA Sep 07 '17 at 15:13

1 Answers1

1

This type of interactivity is not currently possible in any R packages of which I am aware. You would have to create your own htmlwidget by adapting the linked code.

alan ocallaghan
  • 3,116
  • 17
  • 37