Thank you, for this post, I didn't knew about theme_void() I think I will use it from now on.
I got a question, the hjust = 0.5 is the code that put the title in top center positions I guess, but what it means the vjust = 0.5 in geom_text().
I mean I imagine is what puts te labels inside the pie sections. But does it work vjust in that particular case!
Thanks
$wine
Yeah, you're absolutely right. The hjust is the horizontal justification for the plot title. It is a little confusing why the geom_text would use vjust for the labels, but I think it is because a "pie chart" in ggplot is really just a transformed bar chart. So, sometimes things get weird as far as what is vertical and what is horizontal.
Thanks for your contribution to the STEMsocial community. Feel free to join us on discord to get to know the rest of us!
Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).
Consider setting @stemsocial as a beneficiary of this post's rewards if you would like to support the community and contribute to its mission of promoting science and education on Hive. Â
Congratulations @algoswithamber! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)
You received more than 2250 upvotes. Your next target is to reach 2500 upvotes.
You can view your badges on your board and compare yourself to others in the Ranking If you no longer want to receive notifications, reply to this comment with the wordSTOP
Thank you, for this post, I didn't knew about theme_void() I think I will use it from now on.
I got a question, the hjust = 0.5 is the code that put the title in top center positions I guess, but what it means the vjust = 0.5 in geom_text().
I mean I imagine is what puts te labels inside the pie sections. But does it work vjust in that particular case!
Thanks
$wine
Yeah, you're absolutely right. The hjust is the horizontal justification for the plot title. It is a little confusing why the geom_text would use vjust for the labels, but I think it is because a "pie chart" in ggplot is really just a transformed bar chart. So, sometimes things get weird as far as what is vertical and what is horizontal.
thank you! Pie charts with ggplot are possibly te most difficult data visualization tool I have ever used.
Thanks for your contribution to the STEMsocial community. Feel free to join us on discord to get to know the rest of us!
Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).
Consider setting @stemsocial as a beneficiary of this post's rewards if you would like to support the community and contribute to its mission of promoting science and education on Hive.Â
Â
Congratulations @algoswithamber! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)
Your next target is to reach 2500 upvotes.
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP