MITB Banner

What is Datasaurus Dozen and its relevancy in data science

Researchers designed 12 shapes to direct the dots towards creating the Datasaurus Dozen.

Share

Summary statistics are useful because they condense a huge number of observations into a single figure that is simple to understand and share. This property explains why averages and correlations are so widely used, from introductory statistics courses to newspaper stories to scholarly papers. The caveat is that they are frequently insufficient to describe the entire picture, as exemplified by the “datasaurus dozen,” a collection of datasets.

There’s a reason data scientists spend so much time using visualisations to explore data. It’s risky to rely solely on data summaries like means, variances, and correlations because vastly diverse data sets can produce identical conclusions. This is a notion that has been proven in statistics lectures for decades with Anscombe’s Quartet: four scatterplots with the same mean and variance and the same correlation between them, although being qualitatively distinct. (You can validate this in R by using data (Anscombe) to load the data.) What you might not realise is that bivariate data with a given mean, median, and correlation can be generated in any shape you want – even a dinosaur.

What is Datasaurus Dozen? 

Alberto Cairo created the initial datasaurus as a toy example to highlight the necessity of charting data. There are only two variables in the dataset (x and y), and the summary statistics aren’t particularly noteworthy.

Justin Matejka and George Fitzmaurice, in their research paper “Same Stats, Different Graphs: Generating Datasets with Varied Appearance and Identical Statistics through Simulated Annealing”, analyse 13 datasets (the Datasaurus and 12 others) that all contain the same summary statistics (x/y mean, x/y standard deviation, and Pearson’s correlation) to two decimal places, yet their appearances are vastly different. The paper is significant as it explains the method that data scientists used to produce a particular dataset, as well as others like it.

Also Read: A Deep Dive into PyeCharts, A Python Tool For Data Visualization

Methodology 

The important idea underlying the authors’ method is that, while it’s difficult to create a dataset with specific statistical features from the start, it’s extremely simple to take an existing dataset, tweak it a little, and keep those statistical properties. The researchers do this by picking a random point, shifting it a little, and then confirming that the set’s statistical attributes haven’t wandered outside of acceptable bounds (in this particular case, we are ensuring that the means, standard deviations, and correlations remain the same to two decimal places.)

A completely distinct dataset emerges when this tiny “perturbation” process is repeated enough times. However, as previously said, these datasets must be visually unique and visibly different in order to be useful tools for emphasising the necessity of displaying your data. This is accomplished by skewing the random point movements toward a specific shape.

Source: https://www.autodesk.com/research/publications/same-stats-different-graphs 

How was the datasaurus generated? 

Researchers designed 12 shapes to direct the dots towards creating the Datasaurus Dozen. Each of the subsequent charts, and indeed all of the intermediate frames, have the same summary statistics as the original Datasaurus. Of course, the strategy isn’t restricted to a particular format; any grouping of line segments might be used as a target. From this, the researchers can observe how the data points morph from one shape to another as it is iterated through the datasets consecutively while preserving the same summary statistical values to two decimal places throughout the process.

Share
Picture of Abhishree Choudhary

Abhishree Choudhary

Abhishree is a budding tech journalist with a UGD in Political Science. In her free time, Abhishree can be found watching French new wave classic films and playing with dogs.
Related Posts

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

Upcoming Large format Conference

May 30 and 31, 2024 | 📍 Bangalore, India

Download the easiest way to
stay informed

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

AI Courses & Careers

Become a Certified Generative AI Engineer

AI Forum for India

Our Discord Community for AI Ecosystem, In collaboration with NVIDIA. 

Flagship Events

Rising 2024 | DE&I in Tech Summit

April 4 and 5, 2024 | 📍 Hilton Convention Center, Manyata Tech Park, Bangalore

MachineCon GCC Summit 2024

June 28 2024 | 📍Bangalore, India

MachineCon USA 2024

26 July 2024 | 583 Park Avenue, New York

Cypher India 2024

September 25-27, 2024 | 📍Bangalore, India

Cypher USA 2024

Nov 21-22 2024 | 📍Santa Clara Convention Center, California, USA

Data Engineering Summit 2024

May 30 and 31, 2024 | 📍 Bangalore, India

Subscribe to Our Newsletter

The Belamy, our weekly Newsletter is a rage. Just enter your email below.