Skip to content

Problem with sunburst plot with total values #4232

Closed

Description

@archmoj

This sunburst codepen does not show up and throws error in the console.
Also to mention - the treemap variation works fine on master.

Activity

  1. added
    bug
    on Sep 28, 2019
  2. etpinard commented on Oct 3, 2019

    @etpinard
    Contributor

    Nice catch. The same happens when generating an "implied root":

    Plotly.newPlot(gd, { 
        data: [{
            type: 'sunburst',
            branchvalues: 'total',
            labels: [ 'A', 'B', 'b'],
            parents: ['Root', 'Root', 'B'],
            values: [1, 2, 1]
        }]
    });

    https://codepen.io/etpinard/pen/mddbBdy?editors=0010

  3. self-assigned this
    on Oct 3, 2019
  4. added a commit that references this issue on Oct 3, 2019
    02ac702
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions