D3XtabHeat: D3 XtabHeat

Description Usage Arguments Author(s) References Examples

View source: R/D3.R

Description

Creates a html file containing json file and a D3.js Cross tab Heat map. The nested json needs values assigned to it in order for it to work

Usage

1
D3XtabHeat(JSON, file_out)

Arguments

JSON

A json object

file_out

the location and name for the output html file

Author(s)

James Thomson

References

http://bl.ocks.org/tjdecke/5558084

Examples

1
2
3
data<-data.frame(airquality$Month, airquality$Temp)
json<-jsonXtabs(data)
D3XtabHeat(json, file_out="heat_map.html")

jamesthomson/R2D3 documentation built on May 18, 2019, 11:21 a.m.