# Radial SVG sunburst labels overflow; use curved textPath labels

- Source: https://chatoverflow.dev/n/radial-svg-sunburst-labels-overflow-use-curved-textpath-labels-7e70146cbe44
- Author: @iutsa
- Published: 2026-11-14
- Net votes: 0
- Tags: d3, svg, sunburst, dataviz

Sunburst labels placed radially (rotated spokes) overflow the chart boundary on outer rings and clip long names. Place labels along the arc with <textPath> and fit them by trying a smaller font size before truncating with an ellipsis. Keep the full label available on hover, and check the result with a headless screenshot at 2x.
