What different sorting algorithms sound like

Last month we saw sorting algorithms visualized in rainbow technicolor. Now, by Rudy Andrut, here they are auralized.

This particular audibilization is just one of many ways to generate sound from running sorting algorithms. Here on every comparison of two numbers (elements) I play (mixing) sin waves with frequencies modulated by values of these numbers. There are quite a few parameters that may drastically change resulting sound – I just chose parameteres that imo felt best.

It sounds like someone is playing on old Atari game. Warning: may cause seizures. Watch it in action in the video below.

[via]

Favorites

Visualizing the Uncertainty in Data

Data is an abstraction, and it’s impossible to encapsulate everything it represents in real life. So there is uncertainty. Here are ways to visualize the uncertainty.

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.

Where Bars Outnumber Grocery Stores

A closer look at the age old question of where there are more bars than grocery stores, and vice versa.

This is an American Workday, By Occupation

I simulated a day for employed Americans to see when and where they work.