CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Introduction to Data Visualization with Julia

Afficher le cours

Instructions

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

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Volume line plot
____(
	iwf.____,
    iwf.____,
    # Add a title
    title="____",
    # Include axis labels
    ____="Date",
    ____="____"
)
Modifier et exécuter le code