# Layer width of sunburst plots

**URL:** <https://community.plotly.com/t/layer-width-of-sunburst-plots/36205>\
**Category:** plotly.js\
**Created:** [March 14, 2020, 7:21am UTC](https://community.plotly.com/t/layer-width-of-sunburst-plots/36205 "2020-03-14T07:21:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![koushikphy](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@koushikphy](https://community.plotly.com/u/koushikphy)\
**Post date:** [March 14, 2020, 7:21am UTC](https://community.plotly.com/t/layer-width-of-sunburst-plots/36205/1 "2020-03-14T07:21:34Z")

</div>

Is there a way to specify the layer width of plotly sunburst plots? I have a two layer sunburst plot and I want the outer second layer a bit narrow than the inner? How can I do that?

---

<div class="post-metadata">

**Author:** ![archmoj](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/archmoj/32/8388_2.png) [@archmoj](https://community.plotly.com/u/archmoj)\
**Post date:** [March 16, 2020, 1:35pm UTC](https://community.plotly.com/t/layer-width-of-sunburst-plots/36205/2 "2020-03-16T13:35:44Z")

</div>

You could use different `marker.line.width` values.  
Here is a [demo](https://codepen.io/MojtabaSamimi/pen/wvajpOY?editors=0010).

---

<div class="post-metadata">

**Author:** ![koushikphy](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@koushikphy](https://community.plotly.com/u/koushikphy)\
**Post date:** [March 17, 2020, 4:22am UTC](https://community.plotly.com/t/layer-width-of-sunburst-plots/36205/3 "2020-03-17T04:22:06Z")

</div>

Sorry, but I think you got the question wrong, I meant to say width of the layer i.e. the width of the annular disk. What you have suggested, changes the width of the partition between the individual layers.

---

<div class="post-metadata">

**Author:** ![archmoj](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/archmoj/32/8388_2.png) [@archmoj](https://community.plotly.com/u/archmoj)\
**Post date:** [March 19, 2020, 12:24am UTC](https://community.plotly.com/t/layer-width-of-sunburst-plots/36205/4 "2020-03-19T00:24:51Z")

</div>

At the moment there is no such an option.  
You could open a feature request issue here: [https://github.com/plotly/plotly.js/issues](https://github.com/plotly/plotly.js/issues)
