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

Pizza Place Geography

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

Think Like a Statistician – Without the Math

I call myself a statistician, because, well, I’m a statistics graduate student. However, the most important things I’ve learned are less formal, but have proven extremely useful when working/playing with data.

The Changing American Diet

See what we ate on an average day, for the past several decades.

Life expectancy changes

The data goes back to 1960 and up to the most current estimates for 2009. Each line represents a country.