D3 Heatmap for R

基于 D3.js 的 R 热图 htmlwidget。「A D3.js-based heatmap htmlwidget for R」

Github stars Tracking Chart

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

Example

http://rpubs.com/jcheng/mtcars-heatmap

Installation

To install:

if (!require("devtools")) install.packages("devtools")
devtools::install_github("rstudio/d3heatmap")

Usage

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

library(d3heatmap)
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.

Main metrics

Overview
Name With Ownertalgalili/d3heatmap
Primary LanguageR
Program languageJavaScript (Language Count: 4)
Platform
License:Other
所有者活动
Created At2013-07-15 13:59:00
Pushed At2024-11-16 21:56:54
Last Commit At2024-11-16 23:56:54
Release Count0
用户参与
Stargazers Count238
Watchers Count32
Fork Count92
Commits Count231
Has Issues Enabled
Issues Count67
Issue Open Count43
Pull Requests Count9
Pull Requests Open Count0
Pull Requests Close Count16
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private