Skip to content

Column chart

Comparison. Sales by account size as columns in the buckets' own order, with a period switch that moves them against one value axis.

Library
What’s this?
Sales by account size
This year, USD

Column chart with groups

Sales by quarter with a column per product line side by side, a distinct hue each, the legend below and both values in the tooltip.

Sales by quarter and product line
USD

Column chart with a target

Closed won by month against a fixed target, drawn as a dashed line labelled with its value where no column crosses it.

Closed won by month
Against a $250K target, USD

Column chart with negative values

Net new ARR by month on an axis that runs below zero, losing months growing down from a zero line, with the sign in the tooltip.

Net new ARR by month
USD

Installation

Column chart is drawn with the Chart component. Add it, then copy the code from the Code tab above.

pnpm dlx shadcn@latest add @wisty/chart

The CLI installs the Radix or Base UI file to match your project.

Other chart types

Chart: the API, colors and rules for every type