---
title: "Diverging bar chart generator"
description: "Create diverging bar charts locally to securely compare positive and negative values without server uploads."
---

> HTML: https://trendalyzer.app/chart/diverging-bar/
> Index: https://trendalyzer.app/llms.txt

# Diverging bar chart generator

Place positive and negative values on opposite sides of a common zero line.

Maturity: beta

A diverging-bar chart for explain direction.

Data shape: Category plus left and right numeric columns.

## Columns

- `category` (text, required)
- `left` (number, required)
- `right` (number, required)

## Sample data

| category | left | right |
| --- | --- | --- |
| North | -42 | 36 |
| South | -31 | 44 |
| East | -25 | 28 |

Exports: SVG, PNG, and Excel data (data). PowerPoint export is currently unavailable pending dependency review.

## Visual Encoding & Comparative Anatomy

A diverging bar chart displays horizontal bars extending in opposite directions from a central zero-line or baseline. It is highly effective for visualizing contrasting metrics, such as positive versus negative values, trade surpluses and deficits, or favorable versus unfavorable survey sentiments (like Likert scales).

## FAQ



### How do you handle neutral responses in Likert diverging bars?

Neutral responses can either be split evenly across the baseline or displayed in a separate neutral column.
