开始使用免费开始使用

Trading volume

Adding a title and axis labels to your plot is an effective way to enhance its clarity and make it more insightful. In this exercise, you'll create a line plot that shows the daily traded volume of the iShares Russell 1000 Growth ETF fund (IWF) over time, with descriptive axis labels and an informative title.

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

本练习是课程的一部分

Introduction to Data Visualization with Julia

查看课程

练习说明

  • Create a line plot of the daily traded volume (y-axis) versus price_date (x-axis).
  • Title the plot "IWF Daily Traded Volume" using the title keyword argument.
  • Add the axis labels "Date" and "Traded Volume" to the x and y axis, respectively.

交互式实操练习

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

# Volume line plot
____(
	iwf.____,
    iwf.____,
    # Add a title
    title="____",
    # Include axis labels
    ____="Date",
    ____="____"
)
编辑并运行代码