# Adjust branch label sizes in sunburst plot

**URL:** <https://community.plotly.com/t/adjust-branch-label-sizes-in-sunburst-plot/27677>\
**Category:** Dash Python\
**Created:** [August 23, 2019, 8:36am UTC](https://community.plotly.com/t/adjust-branch-label-sizes-in-sunburst-plot/27677 "2019-08-23T08:36:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrsethward](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@mrsethward](https://community.plotly.com/u/mrsethward)\
**Post date:** [August 23, 2019, 8:36am UTC](https://community.plotly.com/t/adjust-branch-label-sizes-in-sunburst-plot/27677/1 "2019-08-23T08:36:56Z")

</div>

Is there a way to specify label font size for branches of a sunburst graph, or at least to provide a minimum? When branches get too small the label becomes unreadable, and there are instances where the label could spill over the branch to remain readable.

```auto
p <- plot_ly(
  labels = c("Eve", "Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura"),
  parents = c("", "Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve"),
  values = c(65, 14, 12, 10, 2, 6, 6, 4, 4),
  type = 'sunburst',
  branchvalues = 'total'
)

```

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/1/1bf2b5b27a21072065fefd6e52884e967c6deb2d.png)

```auto
p <- plot_ly(
  labels = c("Eve", "Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura"),
  parents = c("", "Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve"),
  values = c(65, 14, 12, 10, 2, 6, 6, .5, 4),
  type = 'sunburst',
  branchvalues = 'total'
)

```

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/2/215e61eebd1d1383cbb13a569a631555baa904a2.png)
