Basketball shot charts, make your own

Based on data from the NBA stats API and using the visual layout popularized by Kirk Goldsberry, Todd Schneider gives you BallR, made with R and Shiny.

BallR lets you select a player and season, then creates a customizable chart that shows shot patterns across the court. Additionally, it calculates aggregate statistics like field goal percentage and points per shot attempt, and compares the selected player to league averages at different areas of the court.

Fun.

The best part though is that Schneider made the code available on GitHub. See how it was done or roll your own.

Favorites

Real Chart Rules to Follow

There are rules—usually for specific chart types meant to be read in a specific way—that you shouldn’t break. When they are, everyone loses. This is that small handful.

A Day in the Life of Americans

I wanted to see how daily patterns emerge at the individual level and how a person’s entire day plays out. So I simulated 1,000 of them.

Famous Movie Quotes as Charts

In celebration of their 100-year anniversary, the American Film Institute selected the 100 most memorable quotes from American cinema, and …

Pizza Place Geography

Most of the major pizza chains are within a 5-mile radius of where I live, so I have my pick, …