Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Introduction to Data Visualization with Julia

Cursus bekijken

Oefeninstructies

  • 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.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Import Plots.jl
____ ____

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

# Create a line plot
____(
	# Pass the columns
	____.____,
	____.____
)
Code bewerken en uitvoeren