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

Exercise

BMI per region

In this exercise, your goal is to generate a graph that compares policyholders' body mass index (BMI) across different regions in the dataset. You will leverage the StatsPlots plotting recipe and the exclamation mark notation to accomplish this.

The DataFrames and StatsPlots packages have already been imported for you, and the insurance DataFrame is readily accessible, providing the necessary data for the analysis.

Instructions 1/3

undefined XP
    1
    2
    3
  • Create a violin plot of the BMI (y-axis) versus Region (x-axis) directly from the DataFrame, labeling it "Distribution".