LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Introduction to Data Visualization with Julia

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

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