# Programmatically adding viewers

**URL:** <https://community.datagrok.ai/t/programmatically-adding-viewers/791>\
**Category:** Questions\
**Created:** [September 13, 2023, 9:47am UTC](https://community.datagrok.ai/t/programmatically-adding-viewers/791 "2023-09-13T09:47:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nico.pulver.novartis.com](https://community.datagrok.ai/letter_avatar_proxy/v4/letter/n/76d3ee/32.png) [@nico.pulver.novartis.com](https://community.datagrok.ai/u/nico.pulver.novartis.com)\
**Post date:** [September 13, 2023, 9:47am UTC](https://community.datagrok.ai/t/programmatically-adding-viewers/791/1 "2023-09-13T09:47:38Z")

</div>

Hi Team

We would like to explore some viewers, which we have not yet enabled from our custom visualization menu.  
Could you please let me know, how I can add the SunBurst, Radarplot and Pivot Table viewer using the Datagrok console?

I tried “Charts:\_SunburstViewer()” for the Sunburst, but it doesn’t work.

Thanks  
Nico

---

<div class="post-metadata">

**Author:** ![oahadzhanian.datagrok.ai](https://community.datagrok.ai/user_avatar/community.datagrok.ai/oahadzhanian.datagrok.ai/32/545_2.png) [@oahadzhanian.datagrok.ai](https://community.datagrok.ai/u/oahadzhanian.datagrok.ai)\
**Post date:** [September 13, 2023, 10:03am UTC](https://community.datagrok.ai/t/programmatically-adding-viewers/791/2 "2023-09-13T10:03:06Z")

</div>

Hi Nico!  
For pivot table use:  
` grok.shell.tv.addViewer('Pivot Table')`

---

<div class="post-metadata">

**Author:** ![nico.pulver.novartis.com](https://community.datagrok.ai/letter_avatar_proxy/v4/letter/n/76d3ee/32.png) [@nico.pulver.novartis.com](https://community.datagrok.ai/u/nico.pulver.novartis.com)\
**Post date:** [September 18, 2023, 6:40am UTC](https://community.datagrok.ai/t/programmatically-adding-viewers/791/3 "2023-09-18T06:40:13Z")

</div>

> [@oahadzhanian.datagrok.ai](#):
>
> grok.shell.tv.addViewer(‘Pivot Table’)

thanks!  
And for the other viewers?

---

<div class="post-metadata">

**Author:** ![amuzychyna](https://community.datagrok.ai/letter_avatar_proxy/v4/letter/a/3ab097/32.png) [@amuzychyna](https://community.datagrok.ai/u/amuzychyna)\
**Post date:** [September 18, 2023, 8:05am UTC](https://community.datagrok.ai/t/programmatically-adding-viewers/791/4 "2023-09-18T08:05:01Z")

</div>

Hello! Please use this commands:

```auto
grok.shell.tv.addViewer('Sunburst');
grok.shell.tv.addViewer('Radar');
grok.shell.tv.addViewer('Pivot Table');

```

---

<div class="post-metadata">

**Author:** ![skalkin](https://community.datagrok.ai/user_avatar/community.datagrok.ai/skalkin/32/5_2.png) [@skalkin](https://community.datagrok.ai/u/skalkin)\
**Post date:** [September 18, 2023, 3:16pm UTC](https://community.datagrok.ai/t/programmatically-adding-viewers/791/5 "2023-09-18T15:16:45Z")

</div>

@oahadzhanian.datagrok.ai Let’s make sure users are able to figure it out themselves. I think we can add it to the help, as well as to the “Dev” context panel
