Skip to main content

Sunburst Plot

A d3-based sunburst plot for displaying pathways.

Options#

  • categories | array (required): array of category names. Default: none.
  • data | object (required): data object. Default: none.
  • width | number: width of the plot (in px). Default: 750.
  • height | number: height of the plot (in px). Default: 600.
  • style | object: CSS inline styles. Default: {}.
  • breadcrumbs | {w,h,s,t}: object with dimensions: w for width, h for height, s for spacing, t for width of tip/tail. Default: { 'w': 250, 'h': 50, 's': 5, 't': 15 }.

Examples#

Live Editor
Result
Last updated on by Planeshifter