The need

Informed decision making often depends on understanding the steps taken to arrive at a plot. Visualizations alone don’t tell a complete story of how data were analyzed, but communicating each step of an analysis pipeline can be time consuming and difficult.

The idea

We wanted to help readers by showing them each step of the data analysis process in an easy-to-understand visual format. Datamations are powerful animations that show the story of how a plot or table came to be.

The solution

We developed a tool for automatically creating animations from your data analysis code to show the story behind the final plots. Our research shows that these Datamations improve people's comprehension, and that people also prefer seeing them to static figures alone.

Technical details for Datamations

The Datamations library automatically turn code for a data analysis pipeline into plot and table animations. This process starts by mapping data values to states and operations performed on the data to transitions. The states, for intermediate and final values, are presented as key visual frames that are woven together by animated transitions. If Datamations, for example, identifies a “group by” operation in the code, it will depict the dataset being split into different groups. 

Our “data value to states” approach is designed with different considerations for plots and tables. For instance, plots leverage natural frequency encodings when possible, and tables are shown in a “tidy” format, where each row corresponds to an observation and each column to a variable.

Each Datamation is modularly composed based on the data operation that corresponds to each step in the data analysis pipeline.

Resources:

For more details about our tool and research experiment, visit our Datamations research page.

Explore more AI Labs

Browse the Innovation Sandbox

Explore the possibilities of AI

Jumpstart your own AI innovations with learning resources and development solutions from Microsoft AI.