BaşlayınÜcretsiz Başlayın

Multiple line plots!

In this exercise, you'll create a line plot of the 7-day moving average for the closing price of the SPY fund with a scatter plot of the daily prices overlaid on top of it for comparison. Let's get started!

The DataFrames and Plots packages have been imported for you and the DataFrame spy has been loaded into the shell.

Bu egzersiz

Introduction to Data Visualization with Julia

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Plot the closing price
____(spy.____,
        spy.____,
        # Color the markers
        ____=:____,
        label="Closing Price")
title!("Closing Price of SPY")
xlabel!("Date")
ylabel!("Price (USD)")
Kodu Düzenle ve Çalıştır