跳至内容
首页R

课程

使用 ggplot2 进行数据可视化入门

基础技能水平
更新时间 2025年12月
通过理解图形语法,学习用 ggplot2 制作有意义且美观的数据可视化。
免费开始课程
RData Visualization
4小时
14 视频
52 道练习
4,300 XP
180K+
成就证明

创建您的免费帐户

继续使用 Google显示更多选项


继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。

深受数千家公司学习者的喜爱

Group

需要团队培训?

企业版试用

课程描述

能够制作有意义且美观的数据可视化,是数据科学家必备的核心技能。本课程是该系列中的首个 R 数据可视化教程,将向您介绍优质可视化的基本原则,以及在 ggplot2 包中实现的图形语法绘图概念。ggplot2 已成为在 R 中创建灵活且专业图表的首选工具。在这里,我们将讲解绘图所必需的前三个图层——数据(Data)、美学映射(Aesthetics)和几何对象(Geometries)。完成本课程后,您将能够制作复杂的探索性图表。视频包含实时字幕,您可以点击视频左下方的 "Show transcript" 展开查看。 课程词汇表位于右侧的资源部分。 如需获得 CPE 学分,您需要完成课程并在合格测评中达到 70% 的得分。您可以点击右侧的 CPE 学分提示跳转到测评页面。

先决条件

Introduction to the Tidyverse
1

Introduction

In this chapter we’ll get you into the right frame of mind for developing meaningful visualizations with R. You’ll understand that as a communications tool, visualizations require you to think about your audience first. You’ll also be introduced to the basics of ggplot2 - the 7 different grammatical elements (layers) and aesthetic mappings.
开始章节
2

Aesthetics

Aesthetic mappings are the cornerstone of the grammar of graphics plotting concept. This is where the magic happens - converting continuous and categorical data into visual scales that provide access to a large amount of information in a very short time. In this chapter you’ll understand how to choose the best aesthetic mappings for your data.
开始章节
3

Geometries

A plot’s geometry dictates what visual elements will be used. In this chapter, we’ll familiarize you with the geometries used in the three most common plot types you’ll encounter - scatter plots, bar charts and line plots. We’ll look at a variety of different ways to construct these plots.
开始章节
4

Themes

In this chapter, we’ll explore how understanding the structure of your data makes data visualization much easier. Plus, it’s time to make our plots pretty. This is the last step in the data viz process. The Themes layer will enable you to make publication quality plots directly in R. In the next course we'll look at some extra layers to add more variables to your plots.
开始章节
使用 ggplot2 进行数据可视化入门
课程完成

获得成就证明

将此证书添加到您的 LinkedIn 档案、简历或履历中
在社交媒体和绩效评估中分享
立即注册

加入超过19百万学习者,今天就开始使用 ggplot2 进行数据可视化入门!

创建您的免费帐户

继续使用 Google显示更多选项


继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。

通过 DataCamp for Mobile 提升您的数据技能

随时随地通过我们的移动课程和每日 5 分钟编程挑战提升技能。