Produce an IBM Sunburst Diagram from a JSON data output from IBM Watson Personality Insights service
ibmsunburst(
json = NULL,
version = c("v2", "v3"),
width = NULL,
height = NULL,
elementId = NULL
)list of data or data as JSON or path to file with data
from IBM Watson Personality Insights service.
character version ('v2', 'v3') of Watson Personality Insights profile.
Desired width of widget in pixels
Desired height of widget in pixels
Name to assign to widget
json_path <- system.file(
"extdata", "profiles",
"en_v2.json", package = "ibmsunburst"
)
ibmsunburst(json = json_path, version = "v2")