开始使用免费开始使用

Price goes up

Line plots are highly effective at displaying the evolution of a variable over time. In this exercise, you will continue to work with data describing the prices of different funds over time. The goal is to plot the evolution of the daily high price for the iShares Russell 1000 Growth ETF fund (IWF) as a function of time, displaying the overall trend and patterns.

The CSV and DataFrames packages have been imported for you.

本练习是课程的一部分

Introduction to Data Visualization with Julia

查看课程

练习说明

  • Import the Plots.jl package.
  • Load the data in the .csv file into the iwf DataFrame.
  • Call the relevant function to create a line plot.
  • Pass the price_date and high columns of the iwf DataFrame in that order as arguments to the function.

交互式实操练习

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

# Import Plots.jl
____ ____

# Load dataset
iwf = ____(CSV.File("iwf.csv"))

# Create a line plot
____(
	# Pass the columns
	____.____,
	____.____
)
编辑并运行代码