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.
This exercise is part of the course
Introduction to Data Visualization with Julia
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Violin plot
____ ____ ____(
:____, :____,
linewidth=0, fillcolor=:magenta4,
label=____
)