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

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.

The Most Unisex Names in US History

Moving on from the most trendy names in US history, …

How to Spot Visualization Lies

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

Real Chart Rules to Follow

There are rules—usually for specific chart types meant to be read in a specific way—that you shouldn’t break. When they are, everyone loses. This is that small handful.