| hc_venn | R Documentation |
Adds a "venn" type series to a Highcharts chart. Supports any number
of sets and any number of intersection entries.
hc_venn(chart, spec, opts, geom_params, use_js = TRUE, ...)
chart |
A |
spec |
An |
opts |
An |
geom_params |
Named list. Must contain |
use_js |
Logical. Unused for venn; present for engine consistency. |
... |
Unused. |
The updated highchart object.
Each entry in sets becomes one element of the Highcharts data array:
Single set: list(sets = list("A"), name = "Animals", value = 5)
Intersection: list(sets = list("A", "B"), value = 2)
name is optional for intersections but required for single sets if you
want a label in the diagram.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.