# 24-hour clock

> 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.

- Data type: Values over time (`time`)
- Pro · not released yet: its code is not available; try it on its page, or use a free chart of the same data type (`time`)
- Example: **English Wikipedia is busiest at 19:00 UTC and quietest at 07:00** (Average English Wikipedia page views per hour by people (not bots), UTC, 7 October to 3 November 2024)
- How to read it: Each wedge is one hour of the day, midnight UTC at the top; longer wedges mean more page views, and the orange line is weekends.
- Phone: Not recommended for mobile (2 labels overlap on a phone) · Video formats: 16:9 (best 16:9)

## Use it when
- activity across the 24 hours of a day (or 7 days of a week)
- midnight should join up with the hour before it
- the rhythm matters more than exact values

## Avoid it when
- readers need exact comparisons between hours (use bars)
- the data has no daily cycle
- many series to compare (it draws the first two number keys)
- more than about 36 periods (wedges get thin)

## Fields (data.json)
- `hour` (number, unit "hour (UTC)", format count): the period's place in the cycle; rows run round the clock in order, one wedge each. 24 rows numbered 0 to 23 read as hours (UTC in the example, hints.zone); other cycles are labelled from hints.periods or this value
- `weekday` (number, unit "page views", format count): the first number key: the bars (average page views in that hour on Monday to Friday in the example); its name from hints.names, else the key
- `weekend` (number, unit "page views", format count): optional second number key: the line (average page views on Saturday and Sunday in the example)

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 wedge to read that hour's weekday and weekend views
- Play sweeps a clock hand round the day
- Motion: Wedges grow out from the centre hour by hour, then the weekend line traces round the clock.
- Sound: A pop pitched by time of day on hover. 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": "radial-clock",
  "title": "English Wikipedia is busiest at 19:00 UTC and quietest at 07:00",
  "subtitle": "Average English Wikipedia page views per hour by people (not bots), UTC, 7 October to 3 November 2024",
  "data": "/charts/radial-clock.data.json"
}
```

## Source
Wikimedia Pageviews API, aggregate hourly views of en.wikipedia (agent: user), Wikimedia Foundation (CC0 1.0), retrieved 2026-12-01: https://wikimedia.org/api/rest_v1/#/Pageviews%20data

Note: Four weeks of hourly views averaged by hour. Times are UTC, so the evening peak is afternoon in the Americas and late evening in Europe.

Live: /charts/radial-clock · Manifest: /charts/radial-clock.json · Tags: radial, clock, 24 hours, daily rhythm, internet, Wikipedia
