Line Chart

Typically used to show trends over time, the slope of the line between two points shows patterns of change.

Days Without a Mass Shooting

Unfortunately, while of varying magnitude, mass shootings are somewhat regular in the United States.

Who Earns More Income in American Households?

Compared to 1970, a shift towards women making the higher income.

Boost economy with immigration

Want to increase the GDP? Easy. Let more immigrants in. Lena Groeger for…

How to Make Animated Line Charts in R

Sometimes it's useful to animate the multiple lines instead of showing them all at once.

Marrying Later, Staying Single Longer

Using a century of data, we watch the shift of marital status in the United States.

Alone Time

It’s harder to make friends as you get older. There aren’t as many…

How to Make a Multi-line Step Chart in R

For the times your data represents immediate changes in value.

The Warriors’ Championship Path

As expected, this time, the Golden State Warriors won the championship last night.…

LeBron James passed Michael Jordan in playoff points

As a Golden State Warriors fan, I am obligated to dislike LeBron James,…

How to Spot Visualization Lies

Many charts don't tell the truth. This is a simple guide to spotting them.

Draw the patterns of Obama’s presidency

A couple of years back The New York Times asked readers to draw…

How Much We Eat vs. How Much We Need

On average, we use less energy as we age, and so we should eat less. We don’t always adjust soon enough though.

Drawing Lines and Segments in R

Show connections and changes over time with start and end points.

Stephen Curry 3-point record ridiculousness

Stephen Curry made 402 three-pointers this regular season, which is ridiculous. Gregor Aisch…

Divorce Rates for Different Groups

We know when people usually get married. We know who never marries. Finally, it's time to look at the other side: divorce and remarriage.

Marrying Age

People get married at various ages, but there are definite trends that vary across demographic groups. What do these trends look like?

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.

How to Make Line Charts in R

Learn to draw lines wherever and however you want, and you've got yourself some flexibility.

Using Transparency in R to Improve Clarity

When you plot a lot of data at once, points and lines can obscure others and hide patterns. Transparency can help reveal what is really there.

Interactive Time Series Chart with Filters

Time series charts can easily turn to spaghetti when you have multiple categories. By highlighting the ones of interest, you can direct focus and allow comparisons.