All charts / Values per item
Animated charts for values per item
A number for each item, and you want to see which is bigger and by how much. Chartreuse has 35 chart types for this data: 14 free (MIT) and 21 in Pro (not released yet). Each is live with real public data, moves once when it scrolls into view, and can play sound if the viewer turns it on.
What this data looks like
A number for each item, and you want to see which is bigger and by how much. A typical table for it, from the back-to-back bars example:
Japan(id): one group's list of { age, men, women }, first row at the bottom (Japan in the example; any names, one chip each)Nigeria(id): another group's list of { age, men, women } (Nigeria in the example)age(category): the ordered row (a five-year age group in the example)men(number): the left side's value (men in the example, people); its name is hints.sides[0]women(number): the right side's value (women in the example, people); its name is hints.sides[1]
Not sure? Describe your data on the search page, or let an agent call suggest_charts on the MCP server with a few rows.
Free charts (MIT)
Start here: these are the forms every chart library has, and they install with no account.
- Back-to-back bars · Free (MIT). Use back-to-back bars (a population pyramid) to compare two groups across the same ordered categories, mirrored on a shared spine. Use it when two groups share the same ordered categories (ages, income bands, survey answers).
- Big number · Free (MIT). Use a big number when one value is the story: state it large, show its change, and keep a small trend for context. Use it when one number matters more than any chart of it.
- Bullet chart · Free (MIT). Use a bullet chart to show a value against a target, with shaded bands that say how good or bad it is. Use it when each value has a target or threshold to meet.
- Diverging bars · Free (MIT). Use diverging bars when values can be positive or negative, so gains and losses push away from zero in opposite directions. Use it when values have a meaningful zero and can go either way: gains and losses, above and below a target, for and against.
- Dot plot · Free (MIT). Use a dot plot to compare two or three values per item on one shared scale, with less ink than bars. Use it when two or three values per item on the same scale.
- Dumbbell · Free (MIT). Use a dumbbell to show one change per item: where each started, where it ended, and the gap between. Use it when each item has exactly two values (before and after, with and without).
- Grouped bars · Free (MIT). Use grouped bars to compare two to four series within each item, side by side on one baseline. Use it when 2 to 4 series measured in the same unit for each item.
- Headline card · Free (MIT). Use a headline card when one number and one claim make the point: an eyebrow, a headline with one underlined word, a stat badge and the trend behind it. Use it when a cover image for an article, a post or a slide.
- Lollipop · Free (MIT). Use a lollipop to rank items like a bar chart with less ink, so the values (the dots) stand out. Use it when ranking 6 to 20 items by one count or amount.
- Range bars · Free (MIT). Use range bars to show each item's minimum to maximum with a typical value marked, so spread and centre read together. Use it when each item has a low, a high and a typical value.
- Slope chart · Free (MIT). Use a slope chart to compare each item at two moments, so both the change and any re-ordering show as the tilt and crossing of lines. Use it when exactly two time points or two conditions per item.
- Small-multiple bars · Free (MIT). Use small-multiple bars to repeat one simple bar chart per group, so shapes can be compared across groups at a glance. Use it when the same small chart for 4 to 16 groups.
- Sorted bars · Free (MIT). Use sorted bars to rank items by one value so the order and the gaps read at a glance. Use it when one value per item and the ranking is the point.
- Waterfall · Free (MIT). Use a waterfall to show how a starting total becomes an ending total through a series of gains and losses. Use it when a total changes because of several parts that add or subtract.
Pro charts
Pick one when it fits the story better than a free form: a race, annotations, steps, physics or a playful shape. Every one can be tried on its page first.
- Archipelago · Pro · not released yet. Use an archipelago to make sizes feel like places: each item is an island whose land area is its value. Use it when a playful, memorable view of 5 to 20 sizes.
- Block tower · Pro · not released yet. Use a block tower to show heights or totals as stacks of equal blocks, so readers can count units as well as compare heights. Use it when values that are heights, counts or totals people can picture as stacks.
- Bubble pit · Pro · not released yet. Use a bubble pit to show sizes as bubbles readers can grab: each item is a bubble whose area is its value, and they tumble, stack and bump like real balls. Use it when a playful look at 5 to 20 sizes.
- Change arrows · Pro · not released yet. Use change arrows to show each item moving from an old value to a new one, so direction and distance read at once. Use it when each item has an old and a new value and the direction matters.
- Chart or table · Pro · not released yet. Use a chart-or-table switch when some readers want the shape and others want the exact numbers: one toggle, the same rows, the same order. Use it when readers need both the pattern and the precise values.
- Coin stack · Pro · not released yet. Use coin stacks to show money per item as piles of coins, so the gap between rich and poor reads as a tower beside a sliver. Use it when amounts of money per person, per item or per year.
- Compare toggle · Pro · not released yet. Use a compare toggle to switch one chart between two fair ways of measuring, so readers see how the ranking flips. Use it when two measures of the same thing tell different stories (total vs per person, count vs rate).
- Deviation dots · Pro · not released yet. Use deviation dots to show each value as its distance above or below an average or baseline line. Use it when values are best read as above or below a reference (an average, a target, a baseline).
- Face-off · Pro · not released yet. Use a face-off when the whole story is two numbers: two sized circles side by side, the winner marked with its margin. Use it when exactly two items, and which is bigger is the point.
- Garden · Pro · not released yet. Use a garden to show two linked counts per item: each plant's height is one value and its flowers count a standout outcome within it. Use it when each item has a total and a count of a special outcome inside it.
- Gravity sort · Pro · not released yet. Use a gravity sort to rank items by letting them race: each item falls at a speed set by its value, so they land in order and settle along a number line. Use it when ranking 5 to 15 items where the order of arrival is the story.
- Isometric city · Pro · not released yet. Use an isometric city to make a set of totals feel like a skyline: each item is a tower whose height is its value. Use it when 8 to 20 totals where the tallest few dominate.
- Marble race · Pro · not released yet. Use a marble race to compare speeds or rates: every marble starts together and rolls at its value, and the frame freezes when the fastest crosses the line, so distance covered reads as a bar. Use it when the values are speeds, rates or paces.
- Nightingale rose · Pro · not released yet. Use a Nightingale rose to compare a value across the months of a cycle, with wedge size showing the value, so seasonal peaks jump out. Use it when a cyclical measure (months, hours, compass directions) where the peaks are the story.
- One bar in colour · Pro · not released yet. Use one bar in colour when the title is about a single item: grey out the rest so the eye goes straight to it. Use it when the message is about one item among many.
- Radial bars · Pro · not released yet. Use radial bars for an eye-catching ranking: bars bent into rings, the longest on the outside. Use it when a striking ranking of 5 to 15 items for a poster, a slide or a video.
- Rain gauge · Pro · not released yet. Use rain gauges to show amounts that accumulate, like rainfall or savings: drops fall into a cylinder per item until the water reaches its value. Use it when amounts that build up, such as rain, water use or savings.
- Ranked table · Pro · not released yet. Use a ranked table when readers need exact values and several attributes per item, with inline bars and rank badges to keep the order visible. Use it when readers need exact values and two or three attributes per item (a label, the ranked value, and up to three columns named in the hint columns: [{ field, head }]).
- Sea depths · Pro · not released yet. Use sea depths to show how far each item sits below a target: the target is the water's surface, and each item hangs at its gap below it. Use it when every item is measured against one shared target.
- Spring bars · Pro · not released yet. Use spring bars for a bar chart with bounce: each bar is a spring pulled from a wall to its value, overshooting and settling as it arrives. Use it when one value per item, all on one side of zero.
- Which is bigger? · Pro · not released yet. Use a which-is-bigger quiz to make readers commit to a guess between two items before showing the real values and where both sit among the rest. Use it when readers hold confident but wrong intuitions about pairs.
Use one
Install it as source you own, then pass your own rows with the same fields.
npx chartreuse add back-to-back-bars
import "./chartreuse/chartreuse.css";
import { mount } from "./chartreuse/lib/mount";
import render from "./chartreuse/charts/back-to-back-bars/index";
import meta from "./chartreuse/charts/back-to-back-bars/meta.json";
mount(document.getElementById("chart"), render, { meta, data: yourRows });
For a video: npx chartreuse render back-to-back-bars --data rows.csv --format mp4 --size 1080x1920. See animated charts for video.
Other kinds of data
- Shares of a total: Counts or percentages that add up to one whole.
- Values over time: Years, months or dates, and you want the trend, the cycle or the change.
- Several measures per item: Two or more numbers for each item, and you want to see how they move together.
- Many values of one measure: Lots of readings, and you want the range, the typical value or the odds.
- Movement between stages: Things going from one state, place or step to the next.
- Groups within groups: Categories that nest inside other categories.
- Values by place: Each value belongs to a country, region or point on a map.
- One very big or small number: A size or amount to make people feel how big it is.
- Words and text: Your data is words, quotes or sentences.