# Sunburst Chart Selection

**URL:** <https://forum.knime.com/t/sunburst-chart-selection/81853>\
**Category:** KNIME Analytics Platform\
**Tags:** visualization\
**Created:** [August 5, 2024, 8:31pm UTC](https://forum.knime.com/t/sunburst-chart-selection/81853 "2024-08-05T20:31:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielOC](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/d/ba8739/32.png) [@DanielOC](https://forum.knime.com/u/DanielOC)\
**Post date:** [August 5, 2024, 8:31pm UTC](https://forum.knime.com/t/sunburst-chart-selection/81853/1 "2024-08-05T20:31:30Z")

</div>

Hi All,

I have created a sunburst chart and would like to select a segment the use this selection as a filter. The sunburst chart should output the selection as a Boolean in a new column, however, when I make a selection, this new column only outputs false. I can never manage to get a true value in this column. Is this an error on my behalf or a bug with the node?

![Screenshot 2024-08-05 213049](https://forum-cdn.knime.com/uploads/default/original/3X/9/a/9a001373c56e371e02f4524445c97aed40d47c98.jpeg)

Thank you

Dan

---

<div class="post-metadata">

**Author:** ![yogesh\_nawale](https://forum-cdn.knime.com/user_avatar/forum.knime.com/yogesh_nawale/32/73209_2.png) [@yogesh\_nawale](https://forum.knime.com/u/yogesh_nawale)\
**Post date:** [August 6, 2024, 5:36am UTC](https://forum.knime.com/t/sunburst-chart-selection/81853/2 "2024-08-06T05:36:08Z")

</div>

Hello @DanielOC,

Welcome to KNIME community.

I think your problem occurs because you select values from your sunburst chart using Mouse Mode : focus . Instead try using Mouse Mode: select.  
See below figure.

 ![1](https://forum-cdn.knime.com/uploads/default/original/3X/f/b/fb55332e5a9726ef3f0b2a4ad1f661059cb62f19.png)

 ![2](https://forum-cdn.knime.com/uploads/default/original/3X/2/9/29622db5a96f61f97c9ac034381d28e666ca2dc4.png)

see if it works…

Regards,  
Yogesh

---

<div class="post-metadata">

**Author:** ![DanielOC](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/d/ba8739/32.png) [@DanielOC](https://forum.knime.com/u/DanielOC)\
**Post date:** [August 6, 2024, 8:58am UTC](https://forum.knime.com/t/sunburst-chart-selection/81853/3 "2024-08-06T08:58:01Z")

</div>

Hi Yogesh,

Yes perfect! Thank you very much. Is there a way to have this selection overridden through flow variables? Can’t seem to figure it out myself.

Thanks for your help!

Dan

---

<div class="post-metadata">

**Author:** ![yogesh\_nawale](https://forum-cdn.knime.com/user_avatar/forum.knime.com/yogesh_nawale/32/73209_2.png) [@yogesh\_nawale](https://forum.knime.com/u/yogesh_nawale)\
**Post date:** [August 6, 2024, 9:39am UTC](https://forum.knime.com/t/sunburst-chart-selection/81853/4 "2024-08-06T09:39:45Z")

</div>

Hey @DanielOC, I don’t think there is a way to override the interactive selection of sunburst chart node using flow variables.

---

<div class="post-metadata">

**Author:** ![yogesh\_nawale](https://forum-cdn.knime.com/user_avatar/forum.knime.com/yogesh_nawale/32/73209_2.png) [@yogesh\_nawale](https://forum.knime.com/u/yogesh_nawale)\
**Post date:** [August 6, 2024, 10:03am UTC](https://forum.knime.com/t/sunburst-chart-selection/81853/5 "2024-08-06T10:03:27Z")

</div>

Hey @DanielOC,

If you need to interactively change the selection you can create a component in addition to Table View(JavaScript) node.  
Refer to below answer

> [@Sunburst chart not subscribed to Table View selection](https://forum.knime.com/t/sunburst-chart-not-subscribed-to-table-view-selection/47827):
>
> In the attached example workflow I have a component in which I use: 2 Interactive Value Filter Widget, a Table View and a Sunburst Chart. The Table View and Sunburst Chart are correctly subscribed to the 2 filters as desired. Nevertheless it seems that the Sunburst Chart does not highlight according to the row selected in the Table View as I would like to. I double checked that the “publish selection event” in the Table View is selected, as also the “enable subscription of selection” in the Sunb…

---

<div class="post-metadata">

**Author:** ![DanielOC](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/d/ba8739/32.png) [@DanielOC](https://forum.knime.com/u/DanielOC)\
**Post date:** [August 7, 2024, 9:07am UTC](https://forum.knime.com/t/sunburst-chart-selection/81853/6 "2024-08-07T09:07:53Z")

</div>

Hey @yogesh_nawale,

Thanks for the information on interactivity. I’ve wrapped everything in a component and with the advice on how to make selections I am able to exactly what I wanted to do 🙂

Thanks again for the help

Dan

---

<div class="post-metadata">

**Author:** ![yogesh\_nawale](https://forum-cdn.knime.com/user_avatar/forum.knime.com/yogesh_nawale/32/73209_2.png) [@yogesh\_nawale](https://forum.knime.com/u/yogesh_nawale)\
**Post date:** [August 7, 2024, 9:10am UTC](https://forum.knime.com/t/sunburst-chart-selection/81853/7 "2024-08-07T09:10:07Z")

</div>

Hey @DanielOC, If you are satisfied with this solution, you can give green tick for it.

Thanks and have a good day…

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [August 14, 2024, 9:10am UTC](https://forum.knime.com/t/sunburst-chart-selection/81853/8 "2024-08-14T09:10:24Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
