HAHS.
Back to Catalog

Population Pyramid

chart

Also known as: age-sex pyramid, demographic pyramid, back-to-back bar chart

CompareShow distribution CategoricalNumerical Bar/Column

설명 / Description

인구 피라미드는 공통의 세로축을 공유하며 등을 맞대고 배치된 한 쌍의 가로 막대 차트입니다. 세로축은 연령대(또는 임의의 순서형 범주)를 나타내고, 가로축은 수량이나 백분율을 나타냅니다. 한쪽(관례적으로 왼쪽)은 하나의 하위 그룹(예: 남성)을 보여주고, 다른 쪽은 상호 보완적인 하위 그룹(예: 여성)을 보여줍니다. 그 결과 인구의 인구통계학적 구조를 한눈에 전달하는 독특한 나비 또는 피라미드 모양이 만들어집니다.

A population pyramid is a pair of horizontal bar charts placed back-to-back, sharing a common vertical axis. The vertical axis represents age groups (or any ordinal category), and the horizontal axis represents counts or percentages. One side (conventionally left) shows one sub-group (e.g., males) and the other side shows the complementary sub-group (e.g., females). The result is a distinctive butterfly or pyramid shape that immediately communicates the demographic structure of a population.

피라미드의 형태는 한눈에 강력한 이야기를 전달합니다. 진짜 피라미드 모양(넓은 기저부, 좁은 꼭대기)은 젊고 성장하는 인구를 나타냅니다. 기둥 모양은 안정적인 인구 성장을 시사합니다. 역피라미드나 위쪽이 무거운 형태는 고령화 인구를 나타냅니다. 이러한 형태들은 복잡한 연령-성별 분포를 즉각 이해 가능한 형태로 압축해주기 때문에 인구통계학, 공중보건, 정책 계획에서 상징적인 표현이 되었습니다.

The shape of the pyramid tells a powerful story at a glance. A true pyramid shape (wide base, narrow top) indicates a young, growing population. A column shape suggests stable population growth. An inverted pyramid or top-heavy shape signals an aging population. These shapes have become iconic in demography, public health, and policy planning because they distill complex age-sex distributions into an immediately interpretable form.

인구 피라미드는 인구통계학과 가장 자주 연관되지만, 등을 맞댄 막대 차트 패턴은 순서가 있는 범주 집합에 걸쳐 두 그룹을 비교하는 어떤 경우에도 일반화될 수 있습니다. 성별에 따른 설문 응답, 부서와 연차별 직원 수, 지출 등급과 충성도별 고객 세그먼트 등을 보여줄 수 있습니다.

While the population pyramid is most associated with demography, the back-to-back bar chart pattern generalizes to any comparison of two groups across an ordered set of categories. It can show survey responses by gender, employee counts by department and seniority level, or customer segments by spending tier and loyalty status.

Population Pyramid — age-sex distribution

언제 사용하나 / When to Use

  • 인구나 노동력의 연령·성별 구조 시각화
  • Visualizing the age and sex structure of a population or workforce
  • 두 시점이나 지역 간 인구통계 분포 비교(나란히 배치)
  • Comparing demographic distributions across two time periods or regions (side by side)
  • 두 상호 보완적 그룹이 순서형 변수에 걸쳐 어떻게 분포하는지 보여주기
  • Showing how two complementary groups distribute across an ordinal variable
  • 인구통계학적 불균형, 공백, 불일치 강조하기
  • Highlighting demographic bulges, gaps, or imbalances

이럴 땐 피하세요 / When NOT to Use

  • 두 그룹 이상을 비교할 때 -- 그룹 막대 차트누적 막대 차트를 사용하세요
  • When comparing more than two groups -- use a grouped bar chart or stacked bar chart
  • 범주가 순서형이 아닐 때(자연스러운 순서가 없을 때) -- 표준 막대 차트가 더 명확합니다
  • When the categories are not ordinal (no natural order) -- a standard bar chart is clearer
  • 두 그룹이 상호 보완적이지 않거나 비교 불가능한 스케일일 때
  • When the two groups are not complementary or of incomparable scale
  • 시계열 데이터의 경우 -- 두 개의 시리즈를 가진 선 그래프를 사용하세요
  • For time-series data -- use a line graph with two series

구조 / Anatomy

  • 왼쪽 막대: 중앙 축에서 왼쪽으로 뻗어 나가는 가로 막대로 한 그룹을 나타냅니다(레이아웃을 위해 값이 음수로 표시되는 경우가 많음).
  • Left bars: Horizontal bars extending leftward from the center axis for one group (values are often negated for layout).
  • 오른쪽 막대: 중앙 축에서 오른쪽으로 뻗어 나가는 가로 막대로 다른 그룹을 나타냅니다.
  • Right bars: Horizontal bars extending rightward from the center axis for the other group.
  • 중앙 축: 아래에서 위로 연령대나 순서형 범주를 나열하는 공유 세로축.
  • Central axis: The shared vertical axis listing age groups or ordinal categories from bottom to top.
  • 값 축: 수량이나 백분율을 보여주는 가로축. 레이블은 절댓값(음수가 아닌)을 표시합니다.
  • Value axis: Horizontal axis showing counts or percentages. Labels show absolute values (not negatives).
  • 색상 인코딩: 그룹별로 뚜렷이 구분되는 두 가지 색상과 범례.
  • Color encoding: Two distinct colors, one per group, with a legend.
  • 대칭선: 0 지점에서 두 그룹을 나누는 세로 중앙선.
  • Symmetry line: The vertical center line at zero that divides the two groups.

변형 / Variations

  • 중첩 피라미드: 두 그룹을 동일한 기준선에서 투명도를 적용해 그려, 거울 대칭이 아닌 겹침을 보여줍니다.
  • Overlapping pyramid: Both groups are plotted from the same baseline with transparency, showing overlap rather than mirror symmetry.
  • 애니메이션 피라미드: 연도 간 전환을 보여주어 시간에 따른 인구통계 변화를 나타냅니다.
  • Animated pyramid: Transitions between years to show demographic change over time.
  • 비교 피라미드: 두 개의 피라미드를 윤곽선으로 겹쳐 그려, 한 국가의 현재 구조를 과거나 예측 구조와 비교합니다.
  • Comparative pyramid: Two pyramids overlaid with outlines, comparing a country's current structure to a past or projected one.
  • 백분율 피라미드: 막대가 절대 수치 대신 전체 인구 대비 백분율을 보여주어 국가 간 비교를 용이하게 합니다.
  • Percentage pyramid: Bars show percentages of total population rather than absolute counts, facilitating cross-country comparison.

코드 레퍼런스 / Code Reference

// Observable Plot - population pyramid
Plot.plot({
  marks: [
    Plot.barX(data, {
      y: "ageGroup",
      x: d => d.sex === "Male" ? -d.count : d.count,
      fill: "sex",
      tip: true
    }),
    Plot.ruleX([0])
  ],
  x: {
    label: "Population",
    tickFormat: d => `${Math.abs(d / 1000)}k`
  },
  y: { label: "Age Group" },
  color: { legend: true, domain: ["Male", "Female"], range: ["#4e79a7", "#e15759"] }
})