Traveling salesman image drawing

Apr 6, 2018

This is a fun drawing experiment in R by Antonio Sánchez Chinchón. A simple process: convert an image to black and white, sample the black points, and then solve the Traveling Salesman Problem for those points. Draw the resulting path for something like the above.

Grab the R code to try it with your own images and settings.

Favorites

The Best Data Visualization Projects of 2011

I almost didn’t make a best-of list this year, but …

Where People Run in Major Cities

There are many exercise apps that allow you to keep …

Jobs Charted by State and Salary

Jobs and pay can vary a lot depending on where you live, based on 2013 data from the Bureau of Labor Statistics. Here’s an interactive to look.

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.