Giter Club home page Giter Club logo

powerbi-visuals-sunburst's Introduction

powerbi-visuals-sunburst

Build Status Coverage Status

Sunburst is a multilevel donut chart, used to visualize hierarchical data, depicted by concentric circles.

Sunburst chart screenshot

Overview

Sunburst chart is used to visualize hierarchical data, depicted by concentric circles. The circle in the centre represents the root node, with the hierarchy moving outward from the center. A segment of the inner circle bears a hierarchical relationship to those segments of the outer circle which lie within the angular sweep of the parent segment.

See also Sunburst chart at Microsoft Office store

Sunburst has 2 bucket fields: Category, Values.

  1. Category - Field with a list of categories for each circle segment. It can accept many values.
  2. Values - Field with values for Category field. It can accept one value. Also this field is used for cross filtering with other visuals.

Sunburst screenshot 1

Selection

You can select any segment of the chart for data filtering. For cleaning of selection you should click outside to "Сlear" button on the right top corner of a visual.

Settings of Sunburst

Group

  • Font size: size of the label in the center of sunburst (see screenshot): Sunburst screenshot 2

  • Show category label: show category label in the center of the visual Sunburst screenshot 3

  • Show data labels: show text labels inside of arc segments of Sunburst Sunburst screenshot 3

  • Category colors: to change colors of each category of the visual. Changing element color will also change its child elements color, but if you changed child element color before then it'll keep unchanged. Sunburst screenshot 4

Tooltip

  • Display Units: tooltip numeric value format. Possible values: Auto, Thousands, Million, Billions, Trillions.
  • Decimal places: amount of decimal places to show. Sunburst screenshot 5

Legend

  • Position: Legend location. Possible values: Top, Bottom, Left, Right, Top Center, Bottom Center, Left Center, Right Center.
  • Title: switch on/off the legend Title.
  • Legend Name: title caption.
  • Color: font color of the legend values.
  • Text Size: font size of legend values. Sunburst screenshot 6

powerbi-visuals-sunburst's People

Contributors

alekssavelev avatar avisander avatar blackleaden avatar dimanaumov avatar eugeneelkin avatar ignatvilesov avatar kirillter avatar kulljul avatar microsoft-github-policy-service[bot] avatar mrmeison avatar mulyukovaidar avatar mvgaliev avatar pbicvbot avatar shereindabbah avatar snyk-bot avatar uve avatar vtkalek avatar zbritva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

powerbi-visuals-sunburst's Issues

Visual will not release color bands after selected

Visual will not release color bands after selected.

  1. Select colored section and other visual parts are grayed out.
    2) Click the same colored section as before and it should reset to full display and does not.

  2. in addition, some colors
    capture4
    (which you can not alter) do not show labels such as black.

Negative Values

Hey guys! I appriciate your visuals very much. I notice that if i'm using negative values on the sunbrust it gave me no results. For now i've resolved the issue making a new measure /column with a calculated abs value.
DO you think that the sunbrust should automatically recognize negative values and calculate the relative abs?
cheers
SR

Can't update total number when change value on slicer visual

Hi, I'm using this visual in my report. I'm using a slicer visual to display the category. When I change the value on the slicer visual, the sunburst visual didn't update the total number until I select sunburst visuals. I think this is the wrong behavior. Please help me check it again, thanks very much.

Cannot find name 'DataViewScopeIdentity'

Here is exceptions when I run pbiviz start:
info Building visual...
error TYPESCRIPT /src/sunburst.ts : (485,27) Cannot find name 'DataViewScopeIdentity'. method from exported c error TYPESCRIPT /src/sunburst.ts : (485,27) Parameter 'pathIdentity' of public
method from exported class has or is using private name 'DataViewScopeIdentity'. tity'.
error TYPESCRIPT /src/sunburst.ts : (502,45) Cannot find name 'DataViewScopeIdentity'.

As mentioned in change log v2.1.0:
The DataViewScopeIdentity interface is no longer supported, it was replaced with the data.DataRepetitionSelector interface.

Could you please replace in sunburst.ts file:
DataViewScopeIdentity with data.DataRepetitionSelector

Values not displayed using format set in modeling

The values displayed in the tooltip does not format using the settings specified in modelling. In my case, I've set the format to be a percentage with 2 decimal points, but the % sign does not appear.

Customizable Tooltips

I'd like to propose adding a tooltip bucket so that my users can learn more about the category they mouse over. For example, in a diagram of office supplies, I'd have a hierarchy of location codes for the chart (ie "3SC", but would like a tooltip to display human readable versions of the locations such as "Floor 3 supply closet" when the user mouses over a section.

Feature Suggestion

Hi,
Just a few suggestions I would like to see in this great visaul:

Please add an ability to format the inner circle and bands text size.
Being able to change the bands width
Displaying the values in the data lables

Thank you

Conditional Formatting

Hi,

Would it be possible to add conditional formatting to the sunburst?

As a use case, I have created a power BI dashboard for managers showing their hierarchy in the sunburst and want to be able to colour each individual with a red/amber/green rating based on their team size (an additional column). I know I could do this manually but there are circa 1000 data points so would rather not...

Its a great way of visualising different team sizes across the organisation and gets great engagement so it would be great to have this additional feature.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.