Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use ggplot2 to realize Rose Bubble Chart

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the relevant knowledge of "how to use ggplot2 to achieve rose bubble chart". The editor shows you the operation process through an actual case. The operation method is simple, fast and practical. I hope this article "how to use ggplot2 to achieve rose bubble chart" can help you solve the problem.

The overall difficulty of the chart is medium, using ggplot2 to write code, mainly about polar coordinate transformation and application. (in ggplot2 system, two higher-order uses are: polar coordinate system, geospatial polygon filling).

# load package:

Library ("ggplot2")

Library ("tidyr")

Library ("ggthemes")

Library ("dplyr")

Library ("Cairo")

Library ("showtext")

# load fonts:

Font.add ("myfontl", "msyhl.ttc")

Font.add ("myfont", "msyh.ttc")

Font.add ("myfzhzh", "founder bold black simplified .TTF")

# Lock the temporary directory of files:

Setwd ("D:/R/File")

# Import data

Circle_bubble

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report