开始使用免费开始使用

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.

本练习是课程的一部分

Data Manipulation in Julia

查看课程

练习说明

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

交互式实操练习

通过完成这段示例代码来试试这个练习。

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

# Add title
____!(____)
编辑并运行代码