D3Venn: D3 Venn

Description Usage Arguments Author(s) References Examples

View source: R/D3.R

Description

Creates a html file containing json file and a D3.js Venn diagram. The nested json needs values assigned to it in order for it to work

Usage

1
D3Venn(JSON, file_out)

Arguments

JSON

A json object

the

location and name for the output html file

Author(s)

James Thomson

References

Ben Frederickson d3 Venn library: https://github.com/benfred/venn.js

Examples

1
2
3
data(browsers)
JSON<-jsonOverlaps(browsers, overlaps = 4)
D3Venn(JSON, file_out="browsers_venn.html")

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