1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Data Visualization with Julia

Connected

Exercise

Composers mental health

In this exercise, you'll create a figure with two subplots that explore the impact of music on the mental health of survey respondents, comparing composers and non-composers. This presents a valuable way to visually analyze and gain insights from the data, enabling meaningful comparisons between the two groups.

The Plots package has been imported, and the streaming DataFrame is loaded for you.

Instructions 1/3

undefined XP
    1
    2
    3
  • Group the rows in the streaming DataFrame by the Music_effects and Composer columns, and then count the number of rows, assigning the result to the counts DataFrame.