Jump to content

Connect Leeroopedia MCP: Equip your AI agents to search best practices, build plans, verify code, diagnose failures, and look up hyperparameter defaults.

Principle:DistrictDataLabs Yellowbrick RadViz Visualization

From Leeroopedia


Knowledge Sources
Domains Machine_Learning, Feature_Analysis, Visualization
Last Updated 2026-02-08 00:00 GMT

Overview

RadViz (Radial Visualization) is a multivariate visualization technique that maps high-dimensional data points onto a two-dimensional circle by treating each feature as a spring attached to a point on the circumference.

Description

In a RadViz plot, m feature axes are distributed uniformly around the circumference of a unit circle. Each data point is positioned inside the circle at the location where the spring forces from all feature axes reach equilibrium. The "force" exerted by each feature axis is proportional to the normalized value of that feature for the given instance. The result is a scatter plot inside the circle where the spatial position of each point encodes its full multivariate profile.

Points that are pulled strongly toward a particular feature axis have a high value for that feature relative to others. Points near the center have roughly equal values across all features. When colored by class, clusters of same-colored points reveal features that jointly discriminate between classes, while overlapping colors indicate regions of the feature space where classes are difficult to separate.

RadViz is most effective for datasets with a moderate number of features (typically 3 to 12) because the circumference becomes crowded with too many axes. The technique requires that all features be min-max normalized to the [0,1] interval so that the spring analogy is meaningful.

Usage

RadViz visualization is used to:

  • Explore class separability in a compact two-dimensional view that encodes all features.
  • Identify dominant features by observing which axes attract certain classes.
  • Detect data uniformity when points cluster near the center, indicating features with similar magnitudes.
  • Compare feature importance by examining the angular distribution of class clusters.

Theoretical Basis

Spring Analogy

Given m features, anchor points 𝐬j are placed on the unit circle at angles:

θj=2πjm,j=0,1,,m1

so that 𝐬j=(cosθj,sinθj).

Point Projection

Each instance 𝐱i=(xi1,,xim) is first min-max normalized to 𝐱'i in [0,1]m. The projected position 𝐩i in the plane is then:

𝐩i=j=1mx'ij𝐬jj=1mx'ij

This is the weighted average of the anchor positions, where the weights are the normalized feature values. Points with a single dominant feature are pulled close to that feature's anchor; points with balanced features sit near the origin.

Properties

  • All projected points lie within the unit circle.
  • The visualization is sensitive to feature ordering around the circumference (adjacent features interact visually).
  • Features with zero or near-zero variance contribute negligible spring force.

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment