LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Introduction to Data Visualization with Julia

Kurs anzeigen

Anleitung zur Übung

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

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Import Plots.jl
____ ____

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

# Create a line plot
____(
	# Pass the columns
	____.____,
	____.____
)
Code bearbeiten und ausführen