All charts / Values over time
Animated charts for values over time
Years, months or dates, and you want the trend, the cycle or the change. Chartreuse has 36 chart types for this data: 9 free (MIT) and 27 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
Years, months or dates, and you want the trend, the cycle or the change. A typical table for it, from the area example:
year(year): the yeargw(number): cumulative installed solar capacity, gigawatts
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.
- Area · Free (MIT). Use an area chart to show how one total grows or shrinks over time, when the amount under the line matters. Use it when one series measured as an amount (not a rate).
- Calendar quilt · Free (MIT). Use a calendar quilt to show one value per day laid out like a calendar, so weeks, months and unusual days stand out. Use it when one value per day for months or a year.
- Line with crosshair · Free (MIT). Use a line chart with a crosshair when readers need to read every series at the same moment, not just see the shapes. Use it when 2 to 6 series share one unit and one time axis.
- Linear or log · Free (MIT). Use a linear-or-log toggle for exponential growth: the log scale shows the steady rate, the linear scale shows the size. Use it when values grow by a steady percentage (doubling, compounding, epidemics).
- Small-multiple lines · Free (MIT). Use small-multiple lines to compare the shape of many series, one small chart each on a shared scale. Use it when more than about 5 series would tangle on one chart.
- Stacked area · Free (MIT). Use a stacked area to show how a total and its parts change over time, when the parts add up to the whole. Use it when parts add up to a meaningful total.
- Step line · Free (MIT). Use a step line for values that hold flat and then jump, such as rates, prices and rules set by decision. Use it when the value is set by decision and holds until changed.
- Time ranges · Free (MIT). Use time ranges (a Gantt chart) to show when each item started and ended, so lengths, overlaps and gaps are visible at once. Use it when each item has a start and an end.
- Warming stripes · Free (MIT). Use warming stripes to show a long run of years as one band of colour, so a trend is felt at a glance with no axis to read. Use it when a single series over many years where the trend is the message.
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.
- 24-hour clock · Pro · not released yet. Use a 24-hour clock to show activity around the hours of a day, so the rhythm of night and day reads like a clock face. Use it when activity across the 24 hours of a day (or 7 days of a week).
- Annotated line · Pro · not released yet. Use an annotated line to tell a story along a trend: a few callouts mark the moments that explain its shape. Use it when one series with a few moments that explain it.
- Annotated steps · Pro · not released yet. Use annotated steps when the captions lead: each caption slides a highlight to the stretch of data it talks about. Use it when a single long series has several chapters.
- Bar race · Pro · not released yet. Use a bar race to show a ranking re-forming year by year, when the drama of overtaking is the point. Use it when a ranking changes over many time steps.
- Bars to dots · Pro · not released yet. Use a bars-to-dots morph when a total hides real units: the bar shows how many, the dots show who and when. Use it when the total is small enough to show every unit (under about 300).
- Before and after slider · Pro · not released yet. Use a before-and-after slider to lay two states of the same picture on top of each other and let readers drag between them. Use it when the same map, photo or chart exists in two states.
- Bump chart · Pro · not released yet. Use a bump chart to show how ranks change over time, when who overtakes whom matters more than by how much. Use it when the order matters more than the gaps.
- Callout · Pro · not released yet. Use a callout to point straight at the one value that matters, with an arrow and a sentence, so nobody misses it. Use it when one value is the story: a record, a peak, a break.
- Contour lines · Pro · not released yet. Use contour lines (stacked ridgelines) to show the same yearly shape repeated many times, like a record sleeve, so both the cycle and its drift show at once. Use it when one repeating cycle (a day, a year) measured over many periods.
- Cycle plot · Pro · not released yet. Use a cycle plot to separate a seasonal pattern from the long trend: one small line per month (or weekday) across the years, side by side. Use it when data has a seasonal cycle and a trend.
- Data quilt · Pro · not released yet. Use a data quilt to lay out a long monthly or daily record as a patterned cloth, one patch per period, so cycles show up as a rhythm in the weave. Use it when a long regular record (months, days) with a cycle in it.
- Data weave · Pro · not released yet. Use a data weave to turn a grid of values into cloth: one thread per row and per column, with each crossing going over or under by a rule on the data. Use it when a year-by-month (or row-by-column) grid with a yes/no rule worth seeing.
- Drag to zoom · Pro · not released yet. Use drag to zoom when a long, dense series hides detail: a small context strip shows everything, and the window you drag sets the main view. Use it when thousands of points over a long time.
- Event timeline · Pro · not released yet. Use an event timeline to place dated events on one line, so clusters, gaps and order are clear and every event keeps its label. Use it when a handful to a few dozen dated events.
- Game board · Pro · not released yet. Use a game board to show a value that jumps up and down over time: the squares are the scale, ladders are big jumps up and snakes are big falls. Use it when one measure on a bounded scale that jumps both ways.
- Guess, then reveal · Pro · not released yet. Use a guess-then-reveal chart when the real trend will surprise people: they draw what they expect, then see the truth beside it. Use it when readers hold a belief about a trend that the data overturns.
- Horizon chart · Pro · not released yet. Use a horizon chart to fit many time series into little height: each area is cut into bands and folded, so darker means further from zero. Use it when many series (6 to 50) share one unit and one time axis.
- Index to 100 · Pro · not released yet. Use an index to 100 to compare growth between series of very different sizes: each is divided by its own value in a start year. Use it when series differ hugely in size but growth is the question.
- Mountain range · Pro · not released yet. Use a mountain range to show a long series with repeating peaks: each peak becomes a summit, so the eye counts cycles and spots the tallest. Use it when a long series that rises and falls in cycles.
- One line in focus · Pro · not released yet. Use one line in focus to tell one series' story against the crowd: the hero in ink, every other series in grey. Use it when one series is the story and the rest are context.
- Scrollytelling scene · Pro · not released yet. Use a scrollytelling scene when one chart should change step by step as the reader scrolls through short captions. Use it when a story has four to eight beats that build on one chart.
- Sparklines in a sentence · Pro · not released yet. Use sparklines in a sentence to put a trend right beside the words that describe it, word-sized and on one shared scale. Use it when the text carries the story and the trend backs it up.
- Spiral timeline · Pro · not released yet. Use a spiral timeline to wind a long monthly series into one ring per year, so the same month lines up on a spoke and a yearly cycle shows as a pattern. Use it when a long series with a strong yearly (or daily, weekly) cycle.
- Spirograph · Pro · not released yet. Use a spirograph to draw a cyclical series as looping petals, one loop per period, so strong and weak cycles look like different flowers. Use it when a series repeats in cycles and the shape of each cycle matters.
- Story steps · Pro · not released yet. Use story steps to walk a reader through one chart in numbered stops, lighting one part of it at a time. Use it when one chart carries a story with three to six beats.
- Streamgraph · Pro · not released yet. Use a streamgraph to show the rise and fall of several parts over a long time, when the overall shape matters more than exact values. Use it when 3 to 6 parts over many time points.
- Time curve · Pro · not released yet. Use a time curve to show how a many-sided state drifts, stalls or loops back: each moment is a point, and similar moments sit close together. Use it when each moment has many measures and the overall state matters.
Use one
Install it as source you own, then pass your own rows with the same fields.
npx chartreuse add area
import "./chartreuse/chartreuse.css";
import { mount } from "./chartreuse/lib/mount";
import render from "./chartreuse/charts/area/index";
import meta from "./chartreuse/charts/area/meta.json";
mount(document.getElementById("chart"), render, { meta, data: yourRows });
For a video: npx chartreuse render area --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.
- 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.