For any folks who are particularly good at data visualization in Stata:
I'm currently producing bar graphs for the number of times an online course has been completed/retaken/started and quit/etc., and currently want to visualize just the top 10 for each.
The issue is that the course titles are a bit long, so when I produce the graph, it's just a big blob of impossible-to-discern text along the bottom of the chart.
Other than the obvious but clunky method of renaming each course variable (which would take quite awhile, as I'd have to rename 10 courses for each of the variables, would probably end up in 60-70 renames), is there a way to "wrap" the text like you can in Word, or something similar?
If it's helpful, here's my code for one graph as is:
Thanks much.
I'm currently producing bar graphs for the number of times an online course has been completed/retaken/started and quit/etc., and currently want to visualize just the top 10 for each.
The issue is that the course titles are a bit long, so when I produce the graph, it's just a big blob of impossible-to-discern text along the bottom of the chart.
Other than the obvious but clunky method of renaming each course variable (which would take quite awhile, as I'd have to rename 10 courses for each of the variables, would probably end up in 60-70 renames), is there a way to "wrap" the text like you can in Word, or something similar?
If it's helpful, here's my code for one graph as is:
Code:
graph bar (rawsum) course_starts if coursecount == 1, over(course) blabel(bar) ytitle(Courses started) title(Top 10 courses started)
Comment