Skip to main content
QUICK REVIEW

[Paper Review] HCMapper: An interactive visualization tool to compare partition-based flat clustering extracted from pairs of dendrograms

Gautier Marti, Philippe Donnat|arXiv (Cornell University)|Jul 29, 2015
Data Visualization and AnalyticsComputer Science25 references4 citations
TL;DR

HCMapper is an interactive visualization tool that compares two hierarchical clusterings derived from dendrograms by displaying partition-based layered structures side-by-side with explicit edge encodings to highlight discrepancies. It enables rapid detection of divergent clusters—especially outliers—by visually emphasizing mismatches between hypotheses, as demonstrated in financial time series analysis where only a few assets deviate under correlation vs. correlation-plus-distribution models.

ABSTRACT

We describe a new visualization tool, dubbed HCMapper, that visually helps to compare a pair of dendrograms computed on the same dataset by displaying multiscale partition-based layered structures. The dendrograms are obtained by hierarchical clustering techniques whose output reflects some hypothesis on the data and HCMapper is specifically designed to grasp at first glance both whether the two compared hypotheses broadly agree and the data points on which they do not concur. Leveraging juxtaposition and explicit encodings, HCMapper focus on two selected partitions while displaying coarser ones in context areas for understanding multiscale structure and eventually switching the selected partitions. HCMapper utility is shown through the example of testing whether the prices of credit default swap financial time series only undergo correlation. This use case is detailed in the supplementary material as well as experiments with code on toy-datasets for reproducible research. HCMapper is currently released as a visualization tool on the DataGrapple time series and clustering analysis platorm at www.datagrapple.com.

Motivation & Objective

  • To address the challenge of visually comparing multiple hierarchical clusterings derived from dendrograms, especially when hypotheses about data structure differ.
  • To provide practitioners with an intuitive, interactive tool that highlights where two clustering models disagree, particularly at the level of individual data points or clusters.
  • To improve interpretability of hierarchical clustering results by combining juxtaposition, explicit edge encoding, and focus+context visualization.
  • To support model validation in domains like finance, where understanding whether clustering is driven by correlation or additional factors (e.g., distribution) is critical.
  • To enable detection of singularities or outliers in clustering that may signal special data behavior, such as illiquidity or heavy-tailed returns.

Proposed method

  • HCMapper transforms two dendrograms into layered partition structures, representing clusters at multiple scales.
  • It uses juxtaposed visual layouts to display two selected partitions side-by-side, with coarser partitions shown in context areas for scale understanding.
  • Explicit diverging edges are used to encode mismatches between cluster assignments in the two partitions, visually highlighting data points that are inconsistently clustered.
  • The tool supports interactive exploration via tooltips that reveal the identities of mismatched data points, such as specific financial assets.
  • It leverages a hybrid visualization strategy combining juxtaposition, explicit encoding, and focus+context to enhance interpretability of hierarchical structure differences.
  • The implementation is integrated into the DataGrapple platform, supporting reproducible research with code and use cases on real financial time series.

Experimental results

Research questions

  • RQ1How can practitioners effectively compare two hierarchical clusterings derived from the same dataset when the underlying hypotheses about data structure differ?
  • RQ2What visual design patterns best reveal discrepancies between two partition-based clusterings in a way that is both intuitive and scalable?
  • RQ3Can explicit edge encoding in a layered, juxtaposed layout improve the detection of outlier data points that are inconsistently clustered across two models?
  • RQ4To what extent can such a visualization tool support model validation in high-stakes domains like quantitative finance, where assumptions about correlation vs. distribution matter?
  • RQ5How does HCMapper outperform traditional methods like tanglegrams in revealing structural divergences between hierarchical clusterings?

Key findings

  • HCMapper successfully highlights a small number of divergent edges—particularly one linking the 'America' cluster in the correlation-only model to a red cluster in the correlation-plus-distribution model—indicating a potential outlier.
  • The divergent edge corresponds to two American companies (Rio Tinto and AT&T) that are clustered with high-quality European government bonds, suggesting they share characteristics of illiquidity or heavy-tailed return distributions.
  • The visualization reveals that the majority of clusters are in one-to-one correspondence between the two hypotheses, indicating that correlation is the dominant factor in clustering price time series.
  • Compared to tanglegrams, HCMapper provides a more interpretable and faster route to identifying structural mismatches, as shown in the supplementary material and Figure 4.
  • The tool’s time complexity is O(n²log n + V³), making it suitable for moderate-sized datasets but less scalable for very large ones or highly complex visual graphs.
  • HCMapper is publicly available on the DataGrapple platform, with open-source code and use cases, supporting reproducible research in financial and biological clustering applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.