/docsfor

Leaderboard

Ranked rows with inline bars.

import { Leaderboard } from "diagrammatic";

Where readers arrive from. Each row shows a name, sessions, and a quiet bar. Other groups the smaller sources.

Top referrerssearch portal18.4kcode host9.1ksocial feed6.6kforum4.8kdev digest3.2kother2.4kchangelog1.9kvideo hub1.1kcareer network640web search410

Illustrative data. Sessions, last 28 days. Direct and unattributed omitted.

fig. 18 · Top referrers, last 28 days

The search portal has 18.4k sessions, more than the code host and social feed together. The four named rows below Other total 4,050, less than the forum's 4,800.

Use it for
Top-N lists where names, values, and proportion all need to be present.
Watch out
Cap the list and fold the tail into Other; a 40-row leaderboard is a table.