关于R语言ggplot2数据可视化我个人还是比较推荐跟着一个实际例子重复代码的形式。因为ggplot2的语法基本是固定的格式,重复的多了,自然知道如何写。现在网上可以找到很多关于ggplot2数据可视化的教程,这里我推荐一个我经常看的

这个人是关于ggplot2数据可视化的大佬,写了很多关于ggplot2作图的内容,他的个人网页链接是 https://www.cedricscherer.com/

其中一个关于ggplot2入门的教程写的非常细致,之前公众号的推文也推荐过
链接是 https://www.cedricscherer.com/2019/08/05/a-ggplot2-tutorial-for-beautiful-plotting-in-r/

今天的推文主要是推荐这个大佬的github主页
https://github.com/z3tt?tab=repositories
这里存储了很多ggplot2作图的代码和实际数据,基本上只要我们肯花时间我们都能够重复出来,

比如这里的第一个库 30DayChartChallenge,这里有20多个实际的数据和代码,生成的图都非常漂亮


第二个30DayMapChallenge是关于地图的


第三个库TidyTuesday
这里面有大约7、8 十个完整的示例数据和代码,比如


都非常炫酷。
欢迎大家关注我的公众号
小明的数据分析笔记本
小明的数据分析笔记本 公众号 主要分享:1、R语言和python做数据分析和数据可视化的简单小例子;2、园艺植物相关转录组学、基因组学、群体遗传学文献阅读笔记;3、生物信息学入门学习资料及自己的学习笔记!
网友评论