I want to wrap the text on this sunburst chart so it is displayed in 2 or more lines instead of 1. The test data is not the best, but it shows the scenario am facing – Link to VegaEditor.
I have tried to split and join it, but with no results.
Slice and join, but with no result
2
Answers
Found a solution by splitting the text into 2 parts and placing them one on top of the other.
You’re splitting on space but none of the words contain spaces.