library("d3heatmap")
The d3heatmap
package implements a heatmap htmlwidget. It allows you to
Install using
install.packages("d3heatmap")
data(mtcars, package = "datasets") x = mtcars d3heatmap(x, k_row = 4, k_col = 2, scale = "column")
We can also look at the correlation between the measures:
d3heatmap(cor(x), k_row = 3, k_col = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.