Slope-Dependent Rendering of Parallel Coordinates to Reduce Density Distortion and Ghost Clusters

David Pomerenke, Frederik L. Dennig, Daniel A. Keim, Johannes Fuchs, Michael Blumenschein · DOI

Abstract

Standard Parallel Coordinate Plots (PCPs) suffer from a geometric bias where diagonal lines appear denser and more prominent than horizontal ones, leading to the perception of "ghost clusters" in random noise. This paper introduces a simple, linear-time rendering technique that adjusts line thickness based on slope, effectively neutralizing these visual artifacts for a more truthful representation of multi-dimensional data.

Introduction

Parallel Coordinate Plots (PCPs) are a staple in multidimensional data visualization, allowing researchers to spot correlations and clusters across many variables at once. However, they have a built-in "optical illusion" caused by basic geometry. When drawing a line between two parallel axes, a diagonal line (representing a large change between variables) is physically longer and covers more pixels than a horizontal line. Furthermore, parallel diagonal lines are geometrically closer to each other than parallel horizontal lines.

This leads to two major issues:

  1. Density Distortion: Clusters with steep slopes look "heavier" and more important than horizontal clusters, even if they contain the exact same amount of data.
  2. Ghost Clusters: In datasets with purely random noise, the eye often perceives "zig-zag" patterns as meaningful clusters simply because the diagonal lines have more visual weight.

Methods

The authors propose Slope-Dependent Rendering. Instead of using a constant line width ($w$) for every segment, they scale the width based on the segment's angle ($\alpha$) relative to the horizon.

Geometric variables used to calculate slope-dependent line width.

They formalize this using an adjustment strength parameter, $P$: $$\omega = h \cdot \cos^P(\alpha)$$

  • Standard Rendering ($P=0$): All lines have the same width. This is the baseline that causes distortion.
  • Area-Balanced Rendering ($P=1$): This scales the width so that every line segment, regardless of its slope, covers the exact same number of pixels (surface area).
  • Over-Adjusted Rendering ($P=2$): This goes a step further, thinning diagonal lines even more to compensate for the fact that they sit closer together. This is particularly effective at killing "ghost clusters."

Because this calculation is a simple trigonometric function of the slope, it can be computed in linear time ($O(n)$) and easily integrated into existing visualization software.

Key Results and Insights

The paper primarily uses synthetic datasets—including controlled clusters and uniform noise—to demonstrate the geometric problems and the efficacy of the solution.

Comparison of regular rendering and slope-dependent rendering for clusters (a, b) and uniform noise (c, d).

Visual Neutrality and Noise Reduction

In controlled cluster tests, setting $P=1$ successfully made horizontal and diagonal clusters appear equally prominent, removing the visual bias. In uniform noise tests, slope-dependent rendering significantly mitigated the appearance of ghost clusters. At $P=2$, the artificial zig-zag patterns were almost entirely eliminated. Importantly, while the technique thins diagonal lines, it does not hide real negative correlations; they remain visible but are no longer "louder" than other patterns.

Theoretical Foundations

  • The Data-to-Ink Violation: Standard PCPs violate Edward Tufte’s "data-ink ratio" by using more pixels (ink) to represent a diagonal data point than a horizontal one.
  • Gestalt Law of Proximity: The "ghost cluster" effect results from our brains following the Gestalt law of proximity. Because diagonal lines are physically closer together on the screen, our brains instinctively group them into patterns even when the data is random.

Limitations and Future Work

Currently, the user must manually choose the adjustment strength $P$. Future work could involve an algorithm to automatically select the optimal $P$ based on the specific density and overlap of the dataset. Additionally, while qualitative visual analysis is promising, the authors acknowledge the need for a quantitative user study to measure how much this technique improves actual human decision-making and pattern recognition.

Summary updated

Abstract

Parallel coordinates are a popular technique to visualize multi-dimensional data. However, they face a significant problem influencing the perception and interpretation of patterns. The distance between two parallel lines differs based on their slope. Vertical lines are rendered longer and closer to each other than horizontal lines. This problem is inherent in the technique and has two main consequences: (1) clusters which have a steep slope between two axes are visually more prominent than horizontal clusters. (2) Noise and clutter can be perceived as clusters, as a few parallel vertical lines visually emerge as a ghost cluster. Our paper makes two contributions: First, we formalize the problem and show its impact. Second, we present a novel technique to reduce the effects by rendering the polylines of the parallel coordinates based on their slope: horizontal lines are rendered with the default width, lines with a steep slope with a thinner line. Our technique avoids density distortions of clusters, can be computed in linear time, and can be added on top of most parallel coordinate variations. To demonstrate the usefulness, we show examples and compare them to the classical rendering.
BibTeX
@inproceedings{pomerenke2019slope,
  author = {David Pomerenke and Frederik L. Dennig and Daniel A. Keim and Johannes Fuchs and Michael Blumenschein},
  title = {{Slope-Dependent Rendering of Parallel Coordinates to Reduce Density Distortion and Ghost Clusters}},
  booktitle = {IEEE VIS (Short Papers)},
  year = {2019},
  doi = {10.1109/visual.2019.8933706},
}

Loading related content...

Figure