IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Introduction to Data Visualization with Julia

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Define series recipe
____ function f(::Type{Val{:____}}, x, y, z)
    seriestype := :____
    framestyle := :box
    grid := :off
    label := ____
    outliers := ____
    fillcolor := :plum
    linecolor := :darkorchid
end
Modifica ed esegui il codice