Get startedGet started for free

Them apples

In this exercise, you will plot the time series of apple prices in a center in Chittoor, India. The apple DataFrame contains dates in a string format. To plot the time series accurately, you must convert these dates to Date types and sort them chronologically. Let us see what happens if you don't.

The necessary packages, DataFrames, Plots, and Dates, have already been imported. Furthermore, the apple DataFrame is readily available for you. You can visualize it in the shell to determine its current date format.

This exercise is part of the course

Introduction to Data Visualization with Julia

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Plot time series
____(
	____.____,
    ____."____",
    color=:red2,
    linewidth=2.5,
    label="Apple"
)
ylabel!("Price (Rupees)")
Edit and Run Code