Skip to content

spec: add bar-3d-categorical specification#5267

Merged
github-actions[bot] merged 1 commit intomainfrom
specification/bar-3d-categorical
Apr 11, 2026
Merged

spec: add bar-3d-categorical specification#5267
github-actions[bot] merged 1 commit intomainfrom
specification/bar-3d-categorical

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

New Specification: bar-3d-categorical

Related to #5248


specification.md

bar-3d-categorical: 3D Bar Chart for Categorical Comparison

Description

A three-dimensional bar chart where bars rise from a 2D categorical grid, with height encoding the measured value. Two categorical axes define the grid position on the base plane while the vertical axis shows magnitude. This visualization extends the bar chart family into 3D space, making it effective for comparing values across two categorical dimensions simultaneously.

Applications

  • Comparing sales figures across product categories and geographic regions simultaneously
  • Displaying survey responses across two demographic dimensions (e.g., age group vs education level)
  • Showing experimental results with two categorical factors in factorial designs
  • Visualizing frequency tables or cross-tabulations with two grouping variables

Data

  • x_category (str) - first categorical dimension (e.g., product type, region)
  • y_category (str) - second categorical dimension (e.g., time period, segment)
  • value (float) - bar height representing the measured quantity
  • Size: 3-10 categories per axis, forming a grid of 9-100 bars

Notes

  • Bars should have slight spacing between them for visual clarity and depth perception
  • Color can encode the value magnitude or a third categorical variable
  • Viewing angle should be adjustable; a default elevation of ~30 degrees and azimuth of ~45 degrees provides good readability
  • Grid lines on the base plane help relate bars to their categorical positions
  • Consider adding value labels on top of bars when the grid is small (under 25 bars)
  • A color bar or legend should indicate the mapping when color encodes a variable

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


🤖 spec-create workflow

@github-actions github-actions bot merged commit 5f20d9f into main Apr 11, 2026
4 checks passed
@github-actions github-actions bot deleted the specification/bar-3d-categorical branch April 11, 2026 21:44
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.

0 participants