Labels not getting displayed
- Dominant language
- JavaScript
- Stars
- 2.6k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
Hi Curran,
I saw your video on introduction to D3, nice work. I used one of your graphs in my project [link](https://github.com/curran/screencasts/tree/gh-pages/introToD3/examples/viewer#/104), found a problem that when the name of the labels are large they are not getting displayed. As I'm new to d3 was unable to fix it, maybe we can break the labels in multiple line while adjusting the width of bars or can increase the width of labels section and reduce the size of scale but even then we would have an max width for labels.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked introToD3/examples/viewer example and reproduce the problem using large label names. Trace where the bar labels are rendered, then verify that long labels are displayed without being clipped or omitted and that the graph remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- d3, javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100