HAHS.
Back to Catalog

Lollipop Chart

chart

Also known as: lollipop plot, dot-and-stem chart, pin chart

CompareShow ranking CategoricalNumerical Point/Dot

설명 / Description

롤리팝 차트는 막대 차트의 채워진 사각형을 가는 선(줄기)과 그 끝의 점(머리)으로 대체하여, 더 가볍고 우아한 시각적 표현을 만듭니다. 위치 인코딩은 막대 차트와 동일합니다: 값 축을 따른 점의 위치가 크기를 전달하고, 줄기가 그 점을 기준선에 연결하여 0 기준점을 명시적으로 드러냅니다. 결과적으로 막대 차트와 동일한 정보를 전달하면서도 훨씬 적은 잉크를 사용하는 차트가 됩니다.

A lollipop chart replaces the filled rectangles of a bar chart with a thin line (the stem) capped by a dot (the head), creating a lighter, more elegant visual representation. The positional encoding is identical to a bar chart: the dot's position along the value axis conveys the magnitude, and the stem connects it to the baseline, making the zero-reference explicit. The result is a chart that conveys the same information as a bar chart but with substantially less ink.

롤리팝 차트는 막대 차트와 클리블랜드 점 도표 사이의 설계 공간을 차지합니다. 막대 차트의 기준선과의 명시적 연결(0이 의미 있는 기준일 때 중요)을 유지하면서도 점 도표의 미니멀함을 빌려옵니다. 이는 범주가 많을 때 특히 효과적입니다: 막대라면 시각적으로 무거운 색 블록을 만들었을 자리에, 롤리팝은 데이터 포인트 자체를 강조하는 더 가볍고 훑어보기 쉬운 화면을 만들어냅니다.

The lollipop chart occupies a design space between the bar chart and the Cleveland dot plot. It retains the bar chart's explicit connection to the baseline (important when zero is a meaningful reference) while borrowing the dot plot's minimalism. This makes it particularly effective when there are many categories: where bars would create a visually heavy block of color, lollipops produce a lighter, more scannable display that emphasizes the data points themselves.

점이 주된 시각 요소이기 때문에, 롤리팝 차트는 채워진 면적의 크기보다 각 값의 위치에 주의를 이끕니다. 이로 인해 (눈이 채워진 영역의 길이를 비교하는) 막대 차트보다 값 비교가 다소 어려워질 수 있지만, 시각적 혼잡을 크게 줄이고 특히 범주가 15개 이상인 차트에서 도형-배경 분리를 개선합니다.

Because the dot is the primary visual element, lollipop charts draw attention to the position of each value rather than the magnitude of the filled area. This can make value comparison marginally more difficult than with bars (where the eye compares lengths of filled regions) but significantly reduces visual clutter and improves the figure-ground separation, especially in charts with 15 or more categories.

Lollipop Chart — interactive example

언제 사용하나 / When to Use

  • 막대가 시각적으로 무겁게 느껴질 만큼 범주가 많을 때(10~50개 이상) 값을 비교할 때
  • Comparing values across many categories (10-50+) where bars would feel visually heavy
  • 대시보드와 보고서에서 막대 차트보다 더 깔끔하고 현대적인 대안을 만들 때
  • Creating cleaner, more modern-looking alternatives to bar charts in dashboards and reports
  • 0 기준선이 의미 있는 참조값이고, 줄기를 통해 그 연결을 명시적으로 드러내고 싶을 때
  • When the zero baseline is a meaningful reference and you want the stem to make that connection explicit
  • 채워진 면적의 크기보다 점의 위치가 더 중요한 순위를 보여줄 때
  • Showing rankings where the dot position is more important than the magnitude of filled area
  • 데이터 포인트가 많은 시각화에서 차트 정크를 줄이고 데이터-잉크 비율을 개선할 때
  • Reducing chart-junk and improving data-ink ratio in visualizations with many data points

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

  • 청중이 막대 차트를 강하게 기대하고 있어 롤리팝 형태가 혼란을 줄 수 있을 때
  • When the audience strongly expects a bar chart and the lollipop form might cause confusion
  • 전체 중 부분이나 누적 구성을 보여줄 때 -- 누적 막대 차트를 사용하십시오
  • For showing parts of a whole or stacked composition -- use a stacked bar chart
  • 데이터 값이 매우 비슷해서 점들이 한데 뭉쳐 비교가 어려워질 때
  • When the data has very similar values and the dots cluster together, making comparison difficult
  • 막대가 유용한 2차 인코딩을 제공할 때(예: 각 막대 안에서 하위 범주를 보여주는 색상 채우기)
  • When bars provide a useful secondary encoding (e.g., colored fills showing sub-categories within each bar)

구조 / Anatomy

  • 점(머리): 데이터 값 위치의 원형 마크로, 비교를 위한 주된 시각적 단서 역할을 합니다.
  • Dot (head): A circular mark at the data value, serving as the primary visual cue for comparison.
  • 줄기(선): 점을 기준선에 연결하는 가는 선으로, 시각적 닻 역할을 하며 0으로부터의 거리를 강조합니다.
  • Stem (line): A thin line connecting the dot to the baseline, providing a visual anchor and emphasizing distance from zero.
  • 기준선: 줄기가 시작되는 0 선으로, 보통 룰(rule) 선으로 표시됩니다.
  • Baseline: The zero line from which stems originate; typically shown as a rule line.
  • 범주 축: 이산적인 범주를 나열하는 축입니다(수평 롤리팝은 수직 축, 수직 롤리팝은 수평 축).
  • Category axis: The axis listing discrete categories (vertical for horizontal lollipops, horizontal for vertical).
  • 값 축: 수치 스케일을 가진 정량적 축입니다.
  • Value axis: The quantitative axis with a numeric scale.
  • 색상 인코딩: 점과 줄기는 범주, 그룹, 또는 조건부 임계값(예: 목표 미달은 빨강, 초과는 초록)에 따라 색칠될 수 있습니다.
  • Color encoding: Dots and stems can be colored by category, group, or a conditional threshold (e.g., red for below target, green for above).

변형 / Variations

  • 수평 롤리팝: 줄기가 왼쪽에서 오른쪽으로 뻗습니다. 레이블이 긴 범주가 많을 때 선호됩니다.
  • Horizontal lollipop: Stems extend left to right; preferred for many categories with long labels.
  • 수직 롤리팝: 줄기가 수평 기준선에서 위로 뻗습니다. 시간순으로 정렬된 범주에 유용합니다.
  • Vertical lollipop: Stems extend upward from a horizontal baseline; useful for time-ordered categories.
  • 그룹형 롤리팝: 범주마다 서로 다른 위치에 여러 점을 배치하여, 그룹형 막대 차트를 대체합니다.
  • Grouped lollipop: Multiple dots per category at different positions, replacing grouped bar charts.
  • 덤벨(연결된 점) 차트: 범주마다 두 개의 점을 선으로 연결하여 범위나 변화를 보여주며, 기준선 줄기는 없습니다.
  • Dumbbell (connected dot) chart: Two dots per category connected by a line showing the range or change, without a baseline stem.
  • 색상 임계값 롤리팝: 점과 줄기가 임계값(예: 평균 이상/이하)에 따라 색이 바뀌어, 조건부 인코딩을 추가합니다.
  • Colored threshold lollipop: Dots and stems change color based on a threshold value (e.g., above/below average), adding a conditional encoding.
  • 발산형 롤리팝: 줄기가 중앙 기준선에서 양방향으로 뻗어 양의 편차와 음의 편차를 보여줍니다.
  • Diverging lollipop: Stems extend in both directions from a center baseline to show positive and negative deviations.

코드 레퍼런스 / Code Reference

// Observable Plot - horizontal lollipop chart
Plot.plot({
  marks: [
    Plot.ruleX(data, {
      x: "value",
      y: "category",
      stroke: "#6366f1",
      strokeWidth: 2
    }),
    Plot.dot(data, {
      x: "value",
      y: "category",
      fill: "#6366f1",
      r: 6,
      tip: true
    }),
    Plot.ruleX([0])
  ],
  y: { label: null },
  x: { label: "Value" },
  marginLeft: 120
})