Visualizing algorithms

Jun 30, 2014

Mike Bostock, who you might recognize from such things as Data-Driven Documents or the New York Times, writes on the value of visualizing algorithms for entertaining, teaching, learning, and debugging.

Algorithms are a fascinating use case for visualization. To visualize an algorithm, we don’t merely fit data to a chart; there is no primary dataset. Instead there are logical rules that describe behavior. This may be why algorithm visualizations are so unusual, as designers experiment with novel forms to better communicate. This is reason enough to study them.

But algorithms are also a reminder that visualization is more than a tool for finding patterns in data. Visualization leverages the human visual system to augment human intellect: we can use it to better understand these important abstract processes, and perhaps other things, too.

At the very least, you’ll have fun scrolling through the animated visuals that show how various algorithms work, but read the whole thing. It’s good.

Favorites

Life expectancy changes

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

Shifting Incomes for American Jobs

For various occupations, the difference between the person who makes the most and the one who makes the least can be significant.

Famous Movie Quotes as Charts

In celebration of their 100-year anniversary, the American Film Institute …

10 Best Data Visualization Projects of 2015

These are my picks for the best of 2015. As usual, they could easily appear in a different order on a different day, and there are projects not on the list that were also excellent.