Create a Scatter Plot in R with Multiple Groups

Premium

Let's say you have Sales Orders data for a sports equipment manufacturer and you want to plot the Revenue and Gross Margins on a scatter plot. However, you also have a ProductLine column that contains information about the product category and you want to distinguish the x,y points by the ProductLine.

Continue Reading
Premium Content

This tutorial is a part of the course Data Visualization with R. This is a premium course. The purchase options for the course are provided below. With this course, you get access to complete course content, source code, practical exercises, and all resources that are a part of the course.

Lifetime Premium Membership
$250
$179

Get unlimited access to all courses and premium content

Join Premium
Individual Course
$7

Purchase this course individually

Purchase CourseView Course Details
What's Included:
Complete access to course content and updates
All downloadable resources
Interactive course quizzes
Practice exercises and sample code
Ad-free learning experience

Downloads

Course Resources

Sales Products Dataset

CSV
Free Account

Course Downloads

Course Resources

eBook - Data Visualization with R

eBook for Data Visualization with R

PDF
Premium

Data and R Code

Data and R Code Files for Data Visualization with R

ZIP
Premium