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.
list
JSON
path
character version ('v2', 'v3') of Watson Personality Insights profile.
character
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")
Run the code above in your browser using DataLab