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

Kevin Durant's performance across seasons

The agency is writing an article on Kevin Durant and the evolution of the Small Forward position in basketball.

They would like you to supply them with a line plot displaying Kevin Durant's points per game from his rookie year to the end of the 2016-17 season.

kevin_durant has been preloaded for you containing Kevin's basketball performance statistics in 2010-2017.

Bu egzersiz

Interactive Data Visualization with Bokeh

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

Egzersiz talimatları

  • Create a figure, labeling the x-axis as "Season" and y-axis as "Points".
  • Add line glyphs, using the "season" column from kevin_durant for the x-axis and the "points" column for the y-axis.
  • Generate a HTML file called "Kevin_Durant_performance.html".
  • Display the figure.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Create figure
fig = ____(____="____", ____="____")

# Add line glyphs
fig.____(x=____["____"], y=____["____"])

# Generate HTML file
____(____="____")

# Display plot
____(____)
Kodu Düzenle ve Çalıştır