Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Introduction to Data Visualization with Julia

Cursus bekijken

Oefeninstructies

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

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Volume line plot
____(
	iwf.____,
    iwf.____,
    # Add a title
    title="____",
    # Include axis labels
    ____="Date",
    ____="____"
)
Code bewerken en uitvoeren