Skip to content
DocsChartsLollipopLast updated Nov 2, 2026

Lollipop

A slim bar with a marker at the value. Sample data: new deposits in four regions, South $596K, West $174K.

Open in
Deposits by regionNew deposits in October by region, $1634K in total: East $478K, Midwest $386K, South $596K, West $174K.$478K$386K$596K$174KEASTMIDWESTSOUTHWEST
Deposits by region
RegionDeposits
East$478K
Midwest$386K
South$596K
West$174K
Deposits by regionNew deposits in October by region, $1634K in total: East $478K, Midwest $386K, South $596K, West $174K.$478K$386K$596K$174KEASTMIDWESTSOUTHWEST
Deposits by region
RegionDeposits
East$478K
Midwest$386K
South$596K
West$174K

Installation

  1. 1

    Set up the registry once

    This chart is free in Hearth and MIT licensed: no token. Add @chartory to components.json once (the URL alone, no headers), or skip this when another chart is already installed.

    Installation guide
  2. 2

    Add the chart

    One command adds the Lollipop component to your project.

    npx shadcn add @chartory/lollipop
  3. 3

    Use it

    Pass your rows. The props are the Figma properties.

    usage.tsx
    import { Lollipop }  from "@/components/chartory/lollipop"<Lollipop  data={regionDeposits}  size="m"  legend/>

Props

<Lollipop>

Every prop but data is a Figma property with the same name and values.

PropTypeDefault
data: The chart's data. The tables below list every field.LollipopDataRequired
size: The size class. Each one is laid out again from the data."xs" | "s" | "m" | "l""m"
legend: Shows the legend row under the plot.booleantrue

LollipopData

The data prop: one object for the whole chart.

PropTypeDefault
max: The top of the value scale.numberRequired
rows: One entry per row.[label: string, v: number, tok: string, text: string][]Required

The data as a JSON Schema: schemas/lollipop.json

Lollipop chart: a React and Figma chart in four sizes

What does a lollipop chart show?

A lollipop chart draws each value as a slim bar on a track, with a ringed marker at its end and a dotted drop line, so a few items compare cleanly in a light card. Use it for a short list of amounts such as regions or channels.

Chartory ships it as a Figma component and a React component with the same name. The code installs from the shadcn registry with one command and lands in your project as a file you own.

What is the Lollipop component?

It is one <Lollipop> component. Its props are the Figma properties with the same names and values, and the props table above lists them. The data is one value per item.

Sizes XS, S, M and L re-lay the chart out from the data instead of scaling it, so labels stay readable at every size.

When should I use it?

  • Is it a short list? Yes means the lollipop fits.
  • Is there one value per item? Yes means the lollipop fits.
  • Is it items, not periods? Yes means the lollipop fits.

When does another type fit better?

  • Many items read better as bars. Use Horizontal bars instead.
  • Two values per item. Use Dumbbell instead.
  • A year of periods in a ring. Use Radial lollipop instead.

Lollipop questions

Installing, data, Figma and plans.

  • Yes. It installs through the shadcn registry with the shadcn CLI, and the file lands in your project.

Stay in the loop

New charts, by email.

Get an email when new chart types and releases ship.

Unsubscribe any time.