Skip to content

Automatic translation — the Portuguese version is the reference. View in Portuguese

Updated on 2026-09-08

Horizontal bars

Sideways bars that compare a metric across categories.

On this page (7)

Render: Recharts · Category: Comparison and trend

Sideways bars that compare a metric across categories.

What it is#

Sideways bars that compare a metric across categories.

What it's for / when to use it#

Rankings and categories with long names (products, cities) — the label fits better horizontally.

When NOT to use it: Time series — time reads better along the horizontal axis with Line.

Typical configuration fields#

  • Minimum fields (wells): 1 dimension + 1 metric
  • Category axis (Axis well)
  • Series legend
  • Value labels on the chart
  • Gridlines
  • Stacked series
  • Animated transition
  • Color by series
  • Chart scale/margin
  • Sorting and Top N
  • Reference lines (average, target) and trend
  • Small multiples (repeat by column)
  • Toggle between chart and table
  • Number format and decimal places

Usage example#

Top 5 Aurora Varejo products by revenue, from largest to smallest.

Required data#

A categorical dimension + one or more metrics.

Limits and notes#

  • The visual's data transformation and geometry are covered by automated tests on every release.
  • Only controls that actually affect this visual are listed here (we avoid 'dead buttons').

Related#

Last reviewed: 2026-09-08.

Related links