Aan de slagGa gratis aan de slag

Rating vs. cocoa percentages

Scatter plots are great for visualizing relationships between two numerical variables. Let's see if there is any relationship between chocolate ratings and cocoa percentages. After all, you need to choose the best chocolate bar possible!

The chocolates dataset and the DataFrames and Plots packages have been loaded for you.

Deze oefening maakt deel uit van de cursus

Data Manipulation in Julia

Cursus bekijken

Oefeninstructies

  • Create a scatter plot of cocoa vs. rating columns.
  • Add a title "Cocoa percentage vs. rating".

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Make a scatter plot of cocoa vs. ratings
____(____, ____)

# Add title
____!(____)
Code bewerken en uitvoeren