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.
This exercise is part of the course
Introduction to Data Visualization with Julia
Exercise instructions
- Create a line plot of the daily traded
volume
(y-axis) versusprice_date
(x-axis). - Title the plot
"IWF Daily Traded Volume"
using thetitle
keyword argument. - Add the axis labels
"Date"
and"Traded Volume"
to the x and y axis, respectively.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Volume line plot
____(
iwf.____,
iwf.____,
# Add a title
title="____",
# Include axis labels
____="Date",
____="____"
)