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

Reviving the Statistical Atlas of the United States with New Data

Due to budget cuts, there is no plan for an updated atlas. So I recreated the original 1870 Atlas using today’s publicly available data.

Years You Have Left to Live, Probably

The individual data points of life are much less predictable than the average. Here’s a simulation that shows you how much time is left on the clock.

Who is Older and Younger than You

Here’s a chart to show you how long you have until you start to feel your age.

The Changing American Diet

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