Less scatterbrained scatterplots for data science

Less scatterbrained scatterplots
The Kyrix-S system developed at MIT CSAIL makes it easier to automatically create visualizations that users can interact with dynamically. Credit: Massachusetts Institute of Technology

Scatterplots. You might not know them by name, but if you spend more than 10 minutes online you'll find them everywhere. They're popular in news articles, in the data science community, and, perhaps most crucially, for internet memes about the digestive quality of pancakes.

By depicting data as a mass of points across two axes, scatterplots are effective in visualizing trends, correlations, and anomalies. But using them for often leads to overlapping dots that make them more or less unreadable.

Researchers from MIT's Computer Science and Artificial Intelligence Laboratory (CSAIL) say they've solved this with a new open-source system that makes it possible to create interactive scatterplots based on large-scale datasets that have upwards of billions of distinct data points.

Called "Kyrix-S," the system has an interface that allows users to pan, zoom, and jump around a scatterplot as if they were looking at directions on Google Maps. Whereas other systems developed for large datasets often focus on very specific applications, Kyrix-S is generalizable enough to work for a wide range of visualization styles, including heat maps, pie charts, and radar-style graphics. (The team showed that the system allows users to create visualizations with 800 percent less code compared to a similar state-of-the-art authoring system.)

Credit: Massachusetts Institute of Technology

Users can produce a scatterplot by just writing a few dozen lines of JSON, a human-readable text format.

Lead developer Wenbo Tao, a Ph.D. student at MIT CSAIL, gives the example of a static New York Times scatterplot (below) that he says would improve by being made interactive via a system like Kyrix-S.

"In these scatterplots, you are able to see overall trends and outliers, but the overplotting and the static nature of the plot limit the user's ability to interact with the chart," says Tao.

Less scatterbrained scatterplots
A static New York Times scatterplot. Credit: New York Times

In contrast, Kyrix-S can produce a version (below) that puts data in several zoom levels, enabling interaction with each county. To avoid overplotting, Kyrix-S' scatterplot also shows only the most important examples, like the most populous counties.

Kyrix-S is currently being used by Data Civilizer 2.0, a data integration platform developed at MIT. An earlier version was also employed to help Massachusetts General Hospital analyze a massive brain activity dataset (EEG) that clocks in at 30 terabytes—the equivalent of more than 50,000 hours of digital music. (The goal of that study was to train a model that predicts seizures, given a series of 2-second EEG segments.)

Moving forward, the researchers will be adapting Kyrix-S to work as part of a graphical user interface. They also plan to add functionality so that the system can handle data that is being continuously updated.

Tao wrote a paper about Kyrix-S alongside MIT Adjunct Professor Mike Stonebraker, researchers Xinli Hou and Adam Sah, Leilani Battle SM '13, PhD '17, and Professor Remco Chang of Tufts University. It will be presented virtually at IEEE's VIS data visualization conference Oct. 25.

More information: Kyrix: Democratizing Details-on-Demand Data Visualizations: dsail.csail.mit.edu/index.php/kyrix/

Kyrix code: github.com/tracyhenry/kyrix

Citation: Less scatterbrained scatterplots for data science (2020, October 8) retrieved 28 March 2024 from https://techxplore.com/news/2020-10-scatterbrained-scatterplots-science.html
This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.

Explore further

Algorithms can exploit human perception in graph design

24 shares

Feedback to editors