In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to use the R language ggforce to draw a pie chart. The content of the article is of high quality, so the editor shares it for you as a reference. I hope you will have some understanding of the relevant knowledge after reading this article.
Image.png
Recently, I have been reading the paper. Phased diploid genome assemblies and pan-genomes provide insights into the genetic history of apple domestication's notes today record the drawing of the pie chart in the Figure2 diagram b in the paper.
Image.png
Ggplot2 jigsaw puzzle I personally think is relatively troublesome, and to achieve the above picture of the various parts can be separated seems to be difficult to achieve. When I was looking for the information of the pie chart, I found the ggforce package. It is relatively convenient to use it to make the pie chart. Today's content is mainly realized by the functions in this package.
The first step is to prepare the data
The data only needs two columns.
The first time you use the ggforce package, you still need to install install.packages ("ggforce")
The basic pie chart code is as follows: df1
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.