# Dear Data card

> Use a Dear Data card to draw one week of small events by hand, one mark per event, with the key on the back like a postcard.

- Data type: Values by place (`maps`)
- Pro · not released yet: its code is not available; try it on its page, or use a free chart of the same data type (`maps`)
- Example: **One week, 495 earthquakes: a magnitude 7.4 off Alaska set off a swarm of over a hundred** (Every earthquake of magnitude 2.5 or more worldwide, seven days to 1 December 2026; one hand-drawn ring per quake)
- How to read it: Each column is one day and runs from midnight at the top to midnight at the bottom; ring size is magnitude, colour is depth. Turn the card over for the key.
- Phone: Not recommended for mobile (3 labels overlap on a phone) · Video formats: none passed; closest 16:9

## Use it when
- a personal or small dataset of events over days or weeks
- the texture of the data matters more than exact values
- a warm, handmade tone suits the story (newsletters, posts, talks)

## Avoid it when
- readers must compare values precisely
- more than about a thousand marks
- a formal report needs a conventional chart
- a span of many years (columns become years)

## Fields (data.json)
- `generated` (date): when the data ends (optional; else the last event); columns are hours, days, weeks, months or years, whichever fits the span in about ten
- `quakes[].time` (date): the event's time, UTC
- `quakes[].mag` (number, unit "magnitude", format decimal): magnitude
- `quakes[].depth` (number, unit "km", format count): depth, km
- `quakes[].place` (place): where it happened ("… of Town, Region" reads best)
- `quakes[].lat` (number, unit "°", format decimal): latitude
- `quakes[].lon` (number, unit "°", format decimal): longitude

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 ring to read the quake
- Turn over flips the card to its key
- Motion: Rings are drawn on day by day like ink on a card; Turn over flips the postcard on its vertical axis.
- Sound: A pop on hover pitched by magnitude; a whoosh when the card turns. 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": "self-portrait",
  "title": "One week, 495 earthquakes: a magnitude 7.4 off Alaska set off a swarm of over a hundred",
  "subtitle": "Every earthquake of magnitude 2.5 or more worldwide, seven days to 1 December 2026; one hand-drawn ring per quake",
  "data": "/charts/self-portrait.data.json"
}
```

## Source
Earthquakes, magnitude 2.5+, past 7 days (GeoJSON feed), US Geological Survey, Earthquake Hazards Program (Public domain (US government work)), retrieved 2026-12-01: https://earthquake.usgs.gov/earthquakes/feed/v1.0/geojson.php

Note: Days are rolling 24-hour blocks counted back from when the feed was produced, in UTC. Outside the US the feed is complete only from about magnitude 4.5.

Inspired by: [Dear Data](https://www.dear-data.com/), Giorgia Lupi and Stefanie Posavec (linked, not copied).

Live: /charts/self-portrait · Manifest: /charts/self-portrait.json · Tags: dear data, hand-drawn, postcard, personal data, sketchy, earthquakes, week, generative
