Skip to content

[pyramid-basic] Basic Pyramid Chart (Population Pyramid) #1000

@MarkusNeusinger

Description

@MarkusNeusinger

Description

A pyramid chart displays two opposing horizontal bar charts that share a central axis, creating a pyramid or butterfly shape. Commonly used for population pyramids showing age-gender distributions.

Key Features

  • Two bar charts facing opposite directions
  • Shared central category axis
  • Symmetric or asymmetric comparison
  • Categories typically ordered vertically

Applications

  • Population pyramids (age by gender)
  • Survey responses (agree vs disagree)
  • Comparison of two related metrics
  • Before/after comparisons

Data Requirements

  • category (categorical) - Shared categories (e.g., age groups)
  • value_left (numeric) - Values for left side
  • value_right (numeric) - Values for right side
  • Size: 5-15 categories typical

Visual Elements

  • Horizontal bars extending left and right
  • Central axis with category labels
  • Distinct colors for each side
  • Symmetric axis scales (or asymmetric if noted)
  • Legend or title identifying each side

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions