# Quote wall

> Use a quote wall to show many short quotes at once, each card sized by a measure and coloured by its source or theme.

- Data type: Words and text (`text`)
- Pro · not released yet: its code is not available; try it on its page, or use a free chart of the same data type (`text`)
- Example: **Project Gutenberg's most downloaded book opens: “It is a truth universally acknowledged”** (Opening sentences of twelve of Project Gutenberg's most downloaded novels; text size shows downloads in the last 30 days)
- How to read it: Each card is one novel's first sentence; bigger type means more downloads, and the colour says when the author was born.
- Phone: Adapts to mobile (Draws its own phone layout below 520px) · Video formats: 9:16 (best 9:16)

## Use it when
- the words themselves are the data (quotes, reviews, survey answers)
- 5 to 20 short texts, each with one number and one category
- a playful page that invites reading

## Avoid it when
- exact comparison of the numbers (use bars)
- dozens of quotes (use a searchable table)
- quotes longer than two or three sentences

## Fields (data.json)
- `id` (id): an id for each text
- `title` (text): where the text is from (book, product, respondent)
- `author` (text): who wrote or said it ("Surname, First" is shown as First Surname)
- `authorBorn` (year): a year that sets the colour era (hints.eras when all fall inside the data, else about three even steps) when there is no group
- `downloads` (number, unit "downloads", format count): downloads in the last 30 days, sets the type size
- `line` (text): the quote itself (long ones cut with …)
- `group` (category): optional colour group, in the data's order (up to six; the rest are 'other')

Units are the example's: with your own data, set each number field's `unit` and `format` (percent, count, decimal, currency, compact) in the meta you pass to mount, or `chartreuse render --unit field=text --format field=count`. Scales and labels follow your data.

## Interactions, motion, sound
- hover or tap a card for its source and value
- click a card to hear its line read aloud
- Motion: Cards rise and fade in one by one, most downloaded first.
- Sound: The lines are read aloud on click and while playing. Quiet while it draws and between steps; mute it from its card. (sound is off until the viewer turns it on)

## Example spec
```json
{
  "chart": "quote-wall",
  "title": "Project Gutenberg's most downloaded book opens: “It is a truth universally acknowledged”",
  "subtitle": "Opening sentences of twelve of Project Gutenberg's most downloaded novels; text size shows downloads in the last 30 days",
  "data": "/charts/quote-wall.data.json"
}
```

## Source
Project Gutenberg eBooks and download counts (via the Gutendex catalogue API), Project Gutenberg (Public domain texts in the USA (Project Gutenberg License); catalogue data free to use), retrieved 2026-12-01: https://www.gutenberg.org/ebooks/search/?sort_order=downloads

Note: Download counts are for the 30 days before retrieval. Frankenstein's first line opens Walton's first letter; Crime and Punishment and Metamorphosis are English translations.

Live: /charts/quote-wall · Manifest: /charts/quote-wall.json · Tags: text, quotes, books, literature, first lines, reading, masonry
