- linkData
required to be a valid, R data frame. Data used to create links in diagram, an array of objects which includes keys that map to chart accessors. See d3-sankey for additional detail on data requirements.
- nodeData
required to be a valid, R data frame. Optional. Data used to create nodes in diagram, an array of objects which includes key that map to chart accessors. See d3-sankey for additional detail on data requirements.
- sourceAccessor
String. Key used to determine link's source, must be a node.
- targetAccessor
String. Key used to determine link's target, must be a node.
- valueAccessor
String. Key used to determine link (and ultimately node size).
- nodeIDAccessor
String. Key used to determine unique node identifiers. Requires nodeData to be populated.
- groupAccessor
String. Key used to determine link's group or category.
- mainTitle
String. The dynamic tag of title for the map (or you can create your own separately). See highestHeadingLevel
prop for how tags get assigned.
- subTitle
String. The dynamic tag for a sub title for the map (or you can create your own separately). See highestHeadingLevel
prop for how tags get assigned.
- accessibility
List(). Manages messages and settings for chart accessibility, see object definition
- props
List(). A valid R list with additional property configurations, see all props for @visa/alluvial-diagram
- ...
All other props passed into the function will be passed through to the chart, see all props for @visa/alluvial-diagram.