Skip to content
A D3.js-based heatmap htmlwidget for R
HTML R JavaScript CSS
Branch: master
Clone or download

Latest commit

jcheng5 Remove tests
For some reason these are failing on BDR's machine(s).
Latest commit 5092396 Jan 20, 2018


Type Name Latest commit message Commit time
Failed to load latest commit information.
R Add imports; needed to pass R-devel check Jul 27, 2015
inst Fix self.getId bug Dec 14, 2017
man roxygenize Jun 22, 2015
vignettes One character typo May 25, 2016
.Rbuildignore R CMD check fix Jun 22, 2015
.bowerrc Make htmlwidget package, add hovering behavior to labels Apr 17, 2015
.gitignore Heatmap impl Jul 17, 2013
DESCRIPTION Remove tests Jan 20, 2018
LICENSE Show value tooltip on hover May 1, 2015
NAMESPACE Add imports; needed to pass R-devel check Jul 27, 2015
NEWS Fix rstudio/shinydashboard#75: make the css rules in heatmap.css a bi… Apr 26, 2017 Note about heatmaply Jun 12, 2017
d3heatmap.Rproj Project settings Jun 23, 2015
template.html Package-ify Jul 17, 2013

d3heatmap is not actively maintained. You might consider using a newer heatmap package like heatmaply.

D3 Heatmap for R

This is an R package that implements a heatmap htmlwidget. It has the following features:

  • Highlight rows/columns by clicking axis labels
  • Click and drag over colormap to zoom in (click on colormap to zoom out)
  • Optional clustering and dendrograms, courtesy of base::heatmap



To install:

if (!require("devtools")) install.packages("devtools")


Like any htmlwidget, you can visualize a d3 heatmap directly from the R console:

d3heatmap(mtcars, scale = "column", colors = "Spectral")

You can also include them in R Markdown chunks, or use them in Shiny applications with the d3heatmapOutput and renderD3heatmap functions.

See ?d3heatmap for options.

You can’t perform that action at this time.