Chapter 14. Three-dimensional Visualizations

In this chapter, we will cover the following recipes:

  • Three-dimensional scatter plots
  • Three-dimensional scatter plots with regression plane
  • Three-dimensional bar charts
  • Three-dimensional density plots

Introduction

In basic data visualization, we usually think about a two-dimensional plot, but in some situations, it is important to produce three-dimensional visualizations in order to see the relationship between variables. In this chapter, we will focus on three-dimensional visualizations using the R libraries in order to create three-dimensional plots. We will mainly cover the basic visualizations such as scatter plots, bar charts, kernel density plots, surface plots, and contour plots.

In this chapter, we ...

Get R: Data Analysis and Visualization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.