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
)

Arguments

json

list of data or data as JSON or path to file with data from IBM Watson Personality Insights service.

version

character version ('v2', 'v3') of Watson Personality Insights profile.

width

Desired width of widget in pixels

height

Desired height of widget in pixels

elementId

Name to assign to widget

Examples

json_path <- system.file(
  "extdata", "profiles",
  "en_v2.json", package = "ibmsunburst"
)

ibmsunburst(json = json_path, version = "v2")