Data Science, Data Visualization, R.
geom_text(data=secondLevel, aes(label=paste(gov, comma(total_pop)), x=2, y=pos, angle=angle)) sunburst_3 + coord_polar('y') This would look like Notice how the text flips on the 6 o’clock to sustain readability. Pretty cool, right? Let’s change colors a bit. sunburst_2_text +