1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Data Visualization with Julia

Connected

Exercise

Slicing by region

In this exercise, we will compare data visualization using a two-dimensional scatter plot grouped by a categorical variable to the visualization of the same data in a three-dimensional scatter plot.

The DataFrames and StatsPlots packages have been imported, and the insurance DataFrame has been loaded.

Instructions 1/2

undefined XP
  • 1
    • Create a two-by-two grid of scatter plots displaying :Charges (y-axis) versus :BMI (x-axis) grouped by :Region.
  • 2
    • Create a three-dimensional scatter plot of the :Region, :BMI, and :Charges columns in the x, y, and z-axis, respectively.