Get startedGet started for free

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.

This exercise is part of the course

Introduction to Data Visualization with Julia

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Define series recipe
____ function f(::Type{Val{:____}}, x, y, z)
    seriestype := :____
    framestyle := :box
    grid := :off
    label := ____
    outliers := ____
    fillcolor := :plum
    linecolor := :darkorchid
end
Edit and Run Code