Skip to content

spec: add parallel-categories-basic specification#2505

Merged
MarkusNeusinger merged 1 commit intomainfrom
specification/parallel-categories-basic
Dec 29, 2025
Merged

spec: add parallel-categories-basic specification#2505
MarkusNeusinger merged 1 commit intomainfrom
specification/parallel-categories-basic

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

New Specification: parallel-categories-basic

Related to #2501


specification.md

parallel-categories-basic: Basic Parallel Categories Plot

Description

A parallel categories plot visualizes categorical data across multiple dimensions, with vertical axes representing each categorical variable and ribbons connecting categories to show observation flow. Unlike parallel coordinates (which use lines for numeric data), parallel categories use width-proportional ribbons to show counts or frequencies, making it ideal for understanding how categorical values co-occur and flow across multiple classification dimensions.

Applications

  • Analyzing customer journey paths from acquisition channel through product category to purchase outcome
  • Visualizing survey response patterns across multiple demographic or preference questions
  • Exploring classification results showing predicted vs actual categories with feature breakdowns
  • Understanding multi-stage process flows like support ticket routing through departments

Data

  • dimension_1 through dimension_n (categorical) - Multiple categorical variables for each observation
  • count (numeric, optional) - Observation count or weight for aggregated data
  • Size: 3-6 categorical dimensions, each with 2-8 unique values
  • Example: Titanic survival data with class, sex, age group, and survival status

Notes

  • Ribbon width should be proportional to observation count or frequency
  • Color by first dimension (source) or last dimension (outcome) for clarity
  • Interactive highlighting helps trace paths through multiple categories
  • Consider ordering categories within each dimension to minimize ribbon crossings
  • Too many categories per dimension reduces readability; aggregate rare values if needed

Next: Add approved label to the issue to merge this PR.


🤖 spec-create workflow

@MarkusNeusinger MarkusNeusinger merged commit 611b3b5 into main Dec 29, 2025
4 checks passed
@MarkusNeusinger MarkusNeusinger deleted the specification/parallel-categories-basic branch December 29, 2025 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant