IniziaInizia gratis

(Super)fine rice

In this exercise, you will plot two time series of the price of rice varieties, fine and superfine, in a center in Kurnool, India. Your objective is to include an annotation on the plot indicating when the prices of these two varieties are equal.

The necessary packages (DataFrames, Plots, and Dates) have been imported for you, and the fine and superfine DataFrames are already loaded.

Questo esercizio fa parte del corso

Introduction to Data Visualization with Julia

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Plot both time series
plot(fine.Date,
    [____."____" ____."____"],
    label=[____ ____],
    linewidth=2)
ylabel!("Price (Rupees)")
Modifica ed esegui il codice