2025-02-16

Interactive 3D Plot with mtcars Dataset

In this slide, we will explore a 3D scatter plot of the mtcars dataset, which includes various car attributes like miles per gallon, horsepower, and weight.

  • Created on: 2025-02-16

  • Technology used: R Markdown + Plotly

  • Hosted on: RPubs

  • Topic: Analyzing a sample dataset with an interactive plot

Create the 3D Scatter Plot

In this plot, we’ll visualize the relationship between three variables:

  • mpg (miles per gallon)
  • hp (horsepower)
  • wt (weight)