All charts / Several measures per item
Animated charts for several measures per item
Two or more numbers for each item, and you want to see how they move together. Chartreuse has 18 chart types for this data: 6 free (MIT) and 12 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
Two or more numbers for each item, and you want to see how they move together. A typical table for it, from the bubble example:
country(category): the itemcontinent(category): colour group: any labels; up to six get their own colour, the rest share one grey "other"fertility(number): children per woman (total fertility rate)lifeExp(number): life expectancy at birth, yearspopulation(number): people; sets the bubble's area
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.
- Bubble · Free (MIT). Use a bubble chart when a scatter needs a third measure, shown as each dot's area, usually how big or how many. Use it when each item has two measures plus a size worth seeing.
- Correlation heatmap · Free (MIT). Use a correlation heatmap to scan how every pair in a set of measures moves together, then open the pairs that matter. Use it when you have 4 to 15 numeric measures for the same items.
- Hexbin · Free (MIT). Use a hexbin when thousands of points pile on top of each other: count them into hexagons and show each count as size and depth of colour. Use it when thousands of points overlap so a plain scatter turns into a blob.
- Parallel coordinates · Free (MIT). Use parallel coordinates to compare many measures per item at once: each item is a line crossing one vertical axis per measure, and you can brush axes to filter. Use it when 5 to 12 measures per item and you want profiles, not single pairs.
- Scatter · Free (MIT). Use a scatter to show how two measures relate across many items, and to spot the ones that break the pattern. Use it when two numeric measures per item and you want to see if they move together.
- Scatter matrix · Free (MIT). Use a scatter matrix to see the shape of every pairwise relationship in a handful of measures at once, and follow one item through all of them. Use it when 3 to 6 measures and you want every pair's shape, not just one number.
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.
- Chernoff faces · Pro · not released yet. Use Chernoff faces to show three or four measures per item as features of a face, for a quick, human read of which items are alike and which stand out; fun, not exact. Use it when 3 or 4 measures per item for 6 to 20 items.
- Connected scatter · Pro · not released yet. Use a connected scatter to trace how two measures moved together over time, one point per year joined in order. Use it when two measures change over the same years and their joint path is the story.
- Constellations · Pro · not released yet. Use constellations to show items as stars joined by their relationships: dot size carries a value, the lines carry who connects to whom. Use it when a small network where each node also has a value.
- Filter chips · Pro · not released yet. Use filter chips on a scatter when several groups overlap: each chip is both the legend and a switch that takes its group in or out. Use it when 2 to 6 groups share one scatter and hide each other.
- Glyph creatures · Pro · not released yet. Use glyph creatures to show several measures per item at once: each item becomes a small creature whose body parts are its values, so outliers jump out as odd-looking animals. Use it when 3 to 5 measures per item, for 4 to 16 items.
- Labelled scatter · Pro · not released yet. Use a labelled scatter when there are few enough items (up to about 40) that every point deserves its name on the chart. Use it when 10 to 40 items that readers will look for by name.
- Orbit system · Pro · not released yet. Use an orbit system to show items with two measures at once: distance from the centre is one value, the size of each planet is another, and speed can carry a third. Use it when a few items that share a centre, each with a distance and a size.
- Proportional Euler · Pro · not released yet. Use a proportional Euler diagram to show two or three sets whose circles are sized to their members and overlap only where members are shared. Use it when two or three sets, where containment and overlap are the story.
- Quadrant · Pro · not released yet. Use a quadrant chart to sort items into four named groups by two measures, each split at a meaningful line. Use it when two measures each have a natural threshold (a target, a median, 50%).
- Radar · Pro · not released yet. Use a radar chart to compare the shape of a few items' profiles across 5 to 8 measures on the same scale. Use it when 3 to 6 items, each with 5 to 8 measures in the same unit.
- Scatter with a trend · Pro · not released yet. Use a scatter with a fitted line when you want to state how strongly two measures move together, and show who sits far from the trend. Use it when you want to state the strength of a relationship with a number.
- UpSet plot · Pro · not released yet. Use an UpSet plot to count every overlap between more than three sets, as bars over a dot matrix, where a Venn diagram would tangle. Use it when 4 to 10 sets whose overlaps you want to count.
Use one
Install it as source you own, then pass your own rows with the same fields.
npx chartreuse add bubble
import "./chartreuse/chartreuse.css";
import { mount } from "./chartreuse/lib/mount";
import render from "./chartreuse/charts/bubble/index";
import meta from "./chartreuse/charts/bubble/meta.json";
mount(document.getElementById("chart"), render, { meta, data: yourRows });
For a video: npx chartreuse render bubble --data rows.csv --format mp4 --size 1080x1920. See animated charts for video.
Other kinds of data
- Values per item: A number for each item, and you want to see which is bigger and by how much.
- 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.
- 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.