Danny Malter

Data Science Manager - Accenture
M.S. in Predictive Analytics - DePaul University

Danny Malter

Me
Malter Analytics
GitHub
LinkedIn
YouTube Channel
Twitter
Kaggle

Other Work
General Assembly
AriBall

Media
Built In

The Legendary Career of Kobe Bryant Visualized in Data

By: Drew Malter, Danny Malter

With the tragic loss of Kobe Bryant and his daughter Gianna, we reflect on his dominant career with the Lakers by showcasing his remarkable 20 seasons in the NBA. Using the ggplot2 library in R and leveraging data from Kaggle’s Kobe Bryant Shot Selection competition, we’ve created several data visualizations that display his achievements. All code and data can be found here.

Below is a shot chart containing all 30,699 shots that he took from 1996-2016, separating his makes from his misses. There’s essentially nowhere on the court that Kobe couldn’t score from, but he especially excelled with his mid-range jumpers from the shoulders and baseline. Further below you’ll see similar shot charts broken down by type of made shot and average accuracy among different regions on the court.

plot of chunk unnamed-chunk-1 plot of chunk unnamed-chunk-2 plot of chunk unnamed-chunk-3

When looking at the frequency of the Mamba’s shooting over the course of the game, it’s apparent that the superstar wants the ball as the clock approaches zero. The four tall spikes represent the final minute of each quarter. Kobe often got his rest in the first 4-6 minutes of the 2nd and 4th quarters, accounting for the dips on those regions of the chart. Among his game-ending shots taken, the 2nd chart on this page shows which teams suffered the most final second daggers from Kobe. Amazingly, every team from his era fell victim at least twice (Vancouver became Memphis in 2001).

plot of chunk unnamed-chunk-4 plot of chunk unnamed-chunk-5

Next, we’re looking at the trend of Bryant’s shot accuracy over the course of his career. Early in his career, he struggled to maintain the same success in the playoffs that he had in the regular season, but that eventually changed as he made his way to his 5 championships. The most impressive part of these charts, however, is that 17 seasons into his career he was shooting as well as he ever had been.

plot of chunk unnamed-chunk-6 plot of chunk unnamed-chunk-7

The below two charts compliment what we’ve seen so far but are broken down by opponent and shot type. Most of his better numbers came from Western conference teams, perhaps due to less travel, but also likely due to his competitive nature of wanting to dominate his rivals. However, among all the Eastern conference teams, Kobe always played his best in the spotlight against New York. When it comes to shot type, his smooth touch resulted in a successful bank shot more than three quarters of the time!

plot of chunk unnamed-chunk-8 plot of chunk unnamed-chunk-9

The below chart shows the impressive constant shot improvement from Kobe over the course of the season. Like most NBA players, he does show a slight decline late in the season as the fatigue from his ‘always give 100%’ mentality eventually kicks in. He also consistently was near the top of the league in games and minutes played. However, when the playoffs enter the picture, Kobe has historically put his fatigue aside and outperformed his regular-season-self. The June decline can likely be attributed to only playing the league’s best defenders in the NBA finals.

plot of chunk unnamed-chunk-10

When looking at his success distributed over the course of the game, the results are similar in a few ways. Kobe remains consistent and does show a predictable slight dip in the 4th quarter but is able to rejuvenate himself for overtime.

plot of chunk unnamed-chunk-11

Finally, Kobe Bryant is perhaps best known for always being the hardest worker on the court. Despite his shooting numbers declining late in his career, his effort on the court remained elite. In a 2015 game against the Wizards, a 37-year-old-Kobe was keeping up with young stars by moving 2.73 miles in his 36 minutes of time on the court. With or without the ball, Kobe’s constant movement made him nearly impossible to guard, even in his final season.

plot of chunk unnamed-chunk-12 plot of chunk unnamed-chunk-13 plot of chunk unnamed-chunk-14

comments powered by Disqus