Observable PlotSpecialized

Diverging Bar Chart

Diverging bar chart centered at zero for showing positive/negative values.

Preview placeholder

diverging-bar-v1

Installation

Terminal
npx @ontopic/viz add plot/generic/diverging-bar-v1

Props

PropTypeDescription
dataDivergingData[]Data with positive and negative values

See full TypeScript interface on GitHub for all props.

Usage Example

TypeScript
import { DivergingBar } from '@/viz/components/plot/generic/diverging-bar-v1';