r2d3 (version 1.0)

D3Venn: D3 Venn

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

D3Venn(JSON, file_out)

Arguments

JSON
A json object
the
location and name for the output html file

References

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

Examples

Run this code
data(browsers)
JSON<-jsonOverlaps(browsers, overlaps = 4)
D3Venn(JSON, file_out="browsers_venn.html")

Run the code above in your browser using DataLab