CommencerCommencer gratuitement

Spotify as therapy

In this exercise, you will create a series recipe to display the distribution of ages of Spotify's customers and the effects of music on mental health. You will apply this recipe to generate box plots of either the ages or self-reported depression levels as a function of music's effects on mental health.

The spotify DataFrame is available in your environment, and the StatsPlots package has been imported for you.

Cet exercice fait partie du cours

Introduction to Data Visualization with Julia

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Define series recipe
____ function f(::Type{Val{:____}}, x, y, z)
    seriestype := :____
    framestyle := :box
    grid := :off
    label := ____
    outliers := ____
    fillcolor := :plum
    linecolor := :darkorchid
end
Modifier et exécuter le code