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

Interactive: When Do Americans Leave For Work?

We don’t all start our work days at the same time, despite what morning rush hour might have you think.

Unemployment in America, Mapped Over Time

Watch the regional changes across the country from 1990 to 2016.

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.

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.