# How to handle too long label of circle in the Sunburst chart

**URL:** https://talk.observablehq.com/t/how-to-handle-too-long-label-of-circle-in-the-sunburst-chart/6128
**Category:** Help
**Created:** [January 26, 2022, 2:41am UTC](https://talk.observablehq.com/t/how-to-handle-too-long-label-of-circle-in-the-sunburst-chart/6128 "2022-01-26T02:41:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![JackZhao2517](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/jackzhao2517/32/6060_2.png) [@JackZhao2517](https://talk.observablehq.com/u/JackZhao2517)
#### Post date: [January 26, 2022, 2:41am UTC](https://talk.observablehq.com/t/how-to-handle-too-long-label-of-circle-in-the-sunburst-chart/6128/1 "2022-01-26T02:41:08Z")

</div>

Is there any good solution to handle too long label of the circle? Maybe hiding the characters out of its own circle? There are so many long label in my current source data, thanks so much.

> **[Zoomable Sunburst](https://observablehq.com/@d3/zoomable-sunburst)**
>
> This variant of a sunburst diagram shows only two layers of the hierarchy at a time. Click a node to zoom in, or the center to zoom out. Compare to an icicle.

 ![too_long_label](https://canada1.discourse-cdn.com/flex030/uploads/observablehq/original/2X/8/8895bd0c56002706c27b93632541ac8e8ea91bf1.jpeg)

---

<div class="post-metadata">

### Author: ![hellonearthis](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/hellonearthis/32/3935_2.png) [@hellonearthis](https://talk.observablehq.com/u/hellonearthis)
#### Post date: [January 26, 2022, 8:42am UTC](https://talk.observablehq.com/t/how-to-handle-too-long-label-of-circle-in-the-sunburst-chart/6128/2 "2022-01-26T08:42:10Z")

</div>

Text wrapping in SVG is not easy. [xml - Auto line-wrapping in SVG text - Stack Overflow](https://stackoverflow.com/questions/4991171/auto-line-wrapping-in-svg-text)

I would avoid using long names, that’s part of the dataviz design.
