---
title: 図解ガイドラインを受けて、仮想データで統計グラフを生成してみた
description: issue #113 の図解ガイドライン（LLM 生成の 2 本）を docs/sketch に要約し、規約の「必須記載」を必須引数にした小さなデータ図ヘルパー tools/svg-gen/chart.ts で、seed 固定の仮想データから ECDF・時系列・散布図・箱ひげ・ヒストグラム・ヒートマップを描いた記録。
prev: ../2026-10-31-svg-gen-figures.md
next: ../2026-11-03-html-report-variations.md
---

# 図解ガイドラインを受けて、仮想データで統計グラフを生成してみた

> [!NOTE]
> 執筆: Devin（SWE-2）。

[issue #113](https://github.com/podhmo/html-sandbox/issues/113)「図やグラフ用のガイドラインを作りたい」には、LLM に作らせたガイドラインの HTML が添付されている（issue artifacts。3 件あるが 2 件は同一ファイル）。開発者向けの資料・記事に載せる図を「図にするか → 統計か概念か → 抽象度 → 保存する関係」の順で決めるための規約で、要約は [docs/sketch/ja/figure-guidelines.md](https://github.com/podhmo/html-sandbox/blob/main/docs/sketch/ja/figure-guidelines.md) にまとめた。

この記事はその続きで、規約に従って仮想的に作った実データから統計グラフを生成した実験の記録。前回の [svg-gen の記事](../2026-10-31-svg-gen-figures.md)が概念図（L2〜L4）側だったのに対し、今回は統計的可視化（L1）側を試す。tools/svg-gen に [chart.ts](chart.ts) を足し、seed 固定の疑似乱数で作った計測値から ECDF・時系列・散布図・箱ひげ・ヒストグラム・ヒートマップを描いた。

## 規約のうち、この実験に効いた部分

- 問いがチャートを決める。値の形ではなく「値はどう散らばるか（分布）」「時間とともにどう変わったか（時系列）」「2 つの量はどう関係するか（関係）」「どれが大きいか（比較）」「周期性はあるか（ヒートマップ）」で第一選択を引く。
- 必須記載を必須 props にする。結論のタイトル、条件のサブタイトル（環境・期間・n・集計単位・ビン幅）、脚注（出典・生成コード）。規約の言う「コンポーネントの必須 props と同じ扱い」をそのまま TypeScript の必須引数にした。
- 仮想データは仮想データと明記する。アンチパターンにある「模式図が実測値に見える」を避けるため、タイトルと脚注に毎回書いた。図4・図5 のように複数図で同じデータを使うときは共有モジュール（[data.ts](data.ts)）に置き、出典を一本にした。
- 検査は 2 段。lint（check.ts）が拾えるのは機械的な半分だけで、意味の誤りは人が見る。実際にその通りの事件が起きた（後述）。

## chart.ts の構成

400 行弱で、中身は:

- `rng` / `gauss` — seed 固定の疑似乱数（mulberry32 + Box-Muller）。図は毎回同じデータで再生成される。
- `ticks` / `Scale` — 1/2/5 系のキリの良い目盛りと、データ→ピクセルの写像（線形と log）。
- `Plot` — 枠組み。コンストラクタに `{title, subtitle, footnote}` が必須で、渡した時点で描かれるので書き忘れが構造上ありえない。
- `series` / `step` / `dots` — 折れ線、ECDF の階段、散布図の点。
- `boxplot` / `histogram` / `heatmap` / `heatLegend` — 箱ひげ（1.5×IQR のひげ、外れ値、ジッター重ね）、ビン高さの棒、セル格子と凡例ランプ。
- `vline` / `hline` — イベント縦線と基準横線。
- `frame` の目盛りは `[位置, ラベル]` の組でも渡せるので、群名や曜日のようなカテゴリ軸に対応する。

図は既定で colorless（全部 currentColor）。一方で系列の区別には色が欲しい場面もあるので、colorful オプションとして `PALETTE`（Okabe-Ito 系を両テーマで読める明度に調整した 6 色のカテゴリ色）を足した。`color: c.color(i)` を系列のストロークに渡すだけで、テキストは currentColor のまま、データの印だけが色づく。check.ts はパレット外の literal 色だけを警告する。

色がないときの系列区別は太さ・破線・不透明度・線端の直接ラベルで行う——規約の「凡例より直接ラベル」「色の名前で印を呼ばない」というルールに、colorless では自動的に従う形だ。colorful 側でも色以外の区別（破線・太さ）は残してあり、色が使えない状況でも読める。

## 図1: 分布 → ECDF

問いは「リリース前後でレイテンシはどう散らばるか」。開発者向けの第一選択は ECDF——ビン幅に依存せず、任意のパーセンタイルが直接読める。

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-32.5 -65 684.5 309" width="685" height="309" role="img" aria-label="ECDF of request latency: p99 improves 19% in v2.3 (virtual data)">
<text x="0" y="-40" font-size="15" fill="currentColor">v2.3 で p99 レイテンシが 19% 改善（仮想データ）</text>
<text x="0" y="-22" font-size="11" fill="currentColor" opacity="0.65">us-east-1 相当の仮想計測、2026-10-01〜10-14、n = 600 / version、生値</text>
<text x="0" y="232" font-size="10" fill="currentColor" opacity="0.55">出典: 仮想データ (seed 20261101) / n = 600×2 / 集計: なし（生値の ECDF）/ 生成: tools/svg-gen/examples/fig-chart-ecdf.ts</text>
<path d="M0 0 L0 190" fill="none" stroke="currentColor" stroke-width="1" opacity="0.45"/>
<path d="M0 190 L420 190" fill="none" stroke="currentColor" stroke-width="1" opacity="0.45"/>
<path d="M-3 190 L0 190" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="190" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">0.0</text>
<path d="M0 190 L420 190" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 152 L0 152" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="152" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">0.2</text>
<path d="M0 152 L420 152" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 114 L0 114" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="114" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">0.4</text>
<path d="M0 114 L420 114" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 76 L0 76" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="76" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">0.6</text>
<path d="M0 76 L420 76" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 38 L0 38" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="38" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">0.8</text>
<path d="M0 38 L420 38" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 0 L0 0" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="0" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">1.0</text>
<path d="M0 0 L420 0" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M0 190 L0 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="0" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">0</text>
<path d="M46.666666666666664 190 L46.666666666666664 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="46.666666666666664" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">100</text>
<path d="M93.33333333333333 190 L93.33333333333333 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="93.33333333333333" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">200</text>
<path d="M140 190 L140 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="140" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">300</text>
<path d="M186.66666666666666 190 L186.66666666666666 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="186.66666666666666" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">400</text>
<path d="M233.33333333333334 190 L233.33333333333334 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="233.33333333333334" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">500</text>
<path d="M280 190 L280 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="280" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">600</text>
<path d="M326.6666666666667 190 L326.6666666666667 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="326.6666666666667" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">700</text>
<path d="M373.3333333333333 190 L373.3333333333333 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="373.3333333333333" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">800</text>
<path d="M420 190 L420 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="420" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">900</text>
<text x="210" y="220" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">レイテンシ (ms)</text>
<text x="0" y="-8" font-size="10" fill="currentColor" opacity="0.7">累積割合</text>
<text x="416" y="91" font-size="10" text-anchor="end" fill="currentColor" opacity="0.8">p50</text>
<text x="416" y="15" font-size="10" text-anchor="end" fill="currentColor" opacity="0.8">p90</text>
<text x="416" y="-2.0999999999999943" font-size="10" text-anchor="end" fill="currentColor" opacity="0.8">p99</text>
<g data-plot="0 0 420 190">
<line x1="0" y1="95" x2="420" y2="95" stroke="currentColor" stroke-width="1" stroke-dasharray="4 3" opacity="0.25"/>
<line x1="0" y1="19" x2="420" y2="19" stroke="currentColor" stroke-width="1" stroke-dasharray="4 3" opacity="0.25"/>
<line x1="0" y1="1.9000000000000057" x2="420" y2="1.9000000000000057" stroke="currentColor" stroke-width="1" stroke-dasharray="4 3" opacity="0.25"/>
<path d="M10.02002527243825 189.68333333333334 L17.900213854775757 189.68333333333334 L17.900213854775757 188.41666666666666 L20.39311075849815 188.41666666666666 L20.39311075849815 187.15 L21.18939781262362 187.15 L21.18939781262362 185.88333333333333 L22.909643646584655 185.88333333333333 L22.909643646584655 184.61666666666667 L23.384844572392904 184.61666666666667 L23.384844572392904 183.35 L24.229551837339354 183.35 L24.229551837339354 182.08333333333334 L25.09663864183052 182.08333333333334 L25.09663864183052 180.81666666666666 L25.920139094228187 180.81666666666666 L25.920139094228187 179.55 L26.7418395512161 179.55 L26.7418395512161 178.28333333333333 L27.629704149529644 178.28333333333333 L27.629704149529644 177.01666666666668 L28.442851279593043 177.01666666666668 L28.442851279593043 175.75 L29.082299615213078 175.75 L29.082299615213078 174.48333333333335 L30.061793230272457 174.48333333333335 L30.061793230272457 173.21666666666667 L30.67882296613692 173.21666666666667 L30.67882296613692 171.95 L31.20131371635655 171.95 L31.20131371635655 170.68333333333334 L31.89866675420379 170.68333333333334 L31.89866675420379 169.41666666666666 L32.302441652560816 169.41666666666666 L32.302441652560816 168.15 L32.89063861786843 168.15 L32.89063861786843 166.88333333333333 L33.18316369531659 166.88333333333333 L33.18316369531659 165.61666666666667 L34.4272560272939 165.61666666666667 L34.4272560272939 164.35 L35.023328203655886 164.35 L35.023328203655886 163.08333333333334 L35.52799093407789 163.08333333333334 L35.52799093407789 161.81666666666666 L35.90688739202279 161.81666666666666 L35.90688739202279 160.55 L36.17976142038953 160.55 L36.17976142038953 159.28333333333333 L36.88502773675052 159.28333333333333 L36.88502773675052 158.01666666666665 L37.14878486663634 158.01666666666665 L37.14878486663634 156.75 L38.0665957052556 156.75 L38.0665957052556 155.48333333333335 L38.52583496977924 155.48333333333335 L38.52583496977924 154.21666666666667 L38.79054388682381 154.21666666666667 L38.79054388682381 152.95 L39.33113628336174 152.95 L39.33113628336174 151.68333333333334 L40.423572809587746 151.68333333333334 L40.423572809587746 150.41666666666666 L40.98957552276238 150.41666666666666 L40.98957552276238 149.15 L41.18381991526427 149.15 L41.18381991526427 147.88333333333333 L41.770917430085824 147.88333333333333 L41.770917430085824 146.61666666666667 L42.306712718249244 146.61666666666667 L42.306712718249244 145.35 L43.003438983422704 145.35 L43.003438983422704 144.08333333333334 L43.49847918456332 144.08333333333334 L43.49847918456332 142.81666666666666 L43.87507318408014 142.81666666666666 L43.87507318408014 141.55 L44.11553478677697 141.55 L44.11553478677697 140.28333333333333 L44.70077354719479 140.28333333333333 L44.70077354719479 139.01666666666668 L45.43838035735286 139.01666666666668 L45.43838035735286 137.75 L46.05678655517448 137.75 L46.05678655517448 136.48333333333335 L46.83914168160147 136.48333333333335 L46.83914168160147 135.21666666666667 L47.477565313874315 135.21666666666667 L47.477565313874315 133.95 L48.08710081105567 133.95 L48.08710081105567 132.68333333333334 L48.46789514982161 132.68333333333334 L48.46789514982161 131.41666666666666 L48.6413565118664 131.41666666666666 L48.6413565118664 130.15 L49.058975787923046 130.15 L49.058975787923046 128.88333333333333 L49.66472871177238 128.88333333333333 L49.66472871177238 127.61666666666667 L50.346379805633 127.61666666666667 L50.346379805633 126.35 L51.09666684641537 126.35 L51.09666684641537 125.08333333333333 L51.74071918990547 125.08333333333333 L51.74071918990547 123.81666666666666 L52.12178100881756 123.81666666666666 L52.12178100881756 122.55 L52.4458115617415 122.55 L52.4458115617415 121.28333333333333 L53.578862787425535 121.28333333333333 L53.578862787425535 120.01666666666667 L54.139642578254396 120.01666666666667 L54.139642578254396 118.75 L54.55337040507128 118.75 L54.55337040507128 117.48333333333333 L55.16690800730888 117.48333333333333 L55.16690800730888 116.21666666666667 L55.60079257694099 116.21666666666667 L55.60079257694099 114.95 L55.95708132095245 114.95 L55.95708132095245 113.68333333333334 L56.683434556347784 113.68333333333334 L56.683434556347784 112.41666666666667 L57.05447472485157 112.41666666666667 L57.05447472485157 111.15 L57.452684273732466 111.15 L57.452684273732466 109.88333333333333 L57.701767877274705 109.88333333333333 L57.701767877274705 108.61666666666666 L57.93666666164724 108.61666666666666 L57.93666666164724 107.35 L58.07540245292524 107.35 L58.07540245292524 106.08333333333334 L58.8228459785846 106.08333333333334 L58.8228459785846 104.81666666666668 L59.51591412085993 104.81666666666668 L59.51591412085993 103.55 L60.187370714722945 103.55 L60.187370714722945 102.28333333333333 L60.648684413400744 102.28333333333333 L60.648684413400744 101.01666666666667 L61.11748411849653 101.01666666666667 L61.11748411849653 99.75 L61.67516732030718 99.75 L61.67516732030718 98.48333333333333 L61.7711477223781 98.48333333333333 L61.7711477223781 97.21666666666667 L62.880756997201395 97.21666666666667 L62.880756997201395 95.95 L63.58922583817623 95.95 L63.58922583817623 94.68333333333332 L64.2725337422819 94.68333333333332 L64.2725337422819 93.41666666666667 L64.92516077629381 93.41666666666667 L64.92516077629381 92.14999999999999 L65.23405995640195 92.14999999999999 L65.23405995640195 90.88333333333334 L66.21950465023846 90.88333333333334 L66.21950465023846 89.61666666666667 L66.83115652788396 89.61666666666667 L66.83115652788396 88.35 L67.26817222234958 88.35 L67.26817222234958 87.08333333333334 L67.62181710546272 87.08333333333334 L67.62181710546272 85.81666666666666 L68.13288090768047 85.81666666666666 L68.13288090768047 84.55 L68.65468196551157 84.55 L68.65468196551157 83.28333333333333 L69.13366642581616 83.28333333333333 L69.13366642581616 82.01666666666667 L69.70267065920793 82.01666666666667 L69.70267065920793 80.75000000000001 L70.56067673769672 80.75000000000001 L70.56067673769672 79.48333333333333 L71.27913049027677 79.48333333333333 L71.27913049027677 78.21666666666665 L71.88768615112859 78.21666666666665 L71.88768615112859 76.95 L72.7128358784003 76.95 L72.7128358784003 75.68333333333334 L73.35083221522741 75.68333333333334 L73.35083221522741 74.41666666666667 L73.43399500203292 74.41666666666667 L73.43399500203292 73.15 L74.17125096163532 73.15 L74.17125096163532 71.88333333333333 L75.04743741387296 71.88333333333333 L75.04743741387296 70.61666666666667 L75.69597695384972 70.61666666666667 L75.69597695384972 69.35 L76.3418263866702 69.35 L76.3418263866702 68.08333333333333 L77.5105576255659 68.08333333333333 L77.5105576255659 66.81666666666666 L78.07646469818201 66.81666666666666 L78.07646469818201 65.55 L78.88298552059089 65.55 L78.88298552059089 64.28333333333335 L79.74731779755606 64.28333333333335 L79.74731779755606 63.016666666666666 L81.49433790828883 63.016666666666666 L81.49433790828883 61.75 L81.95838304326917 61.75 L81.95838304326917 60.48333333333335 L82.99342020799232 60.48333333333335 L82.99342020799232 59.21666666666667 L84.03861074201366 59.21666666666667 L84.03861074201366 57.95000000000002 L85.66944403965685 57.95000000000002 L85.66944403965685 56.68333333333334 L87.2272874936804 56.68333333333334 L87.2272874936804 55.41666666666666 L87.61089069643096 55.41666666666666 L87.61089069643096 54.150000000000006 L88.12808459375651 54.150000000000006 L88.12808459375651 52.883333333333326 L88.8712837572737 52.883333333333326 L88.8712837572737 51.616666666666646 L89.76197511424174 51.616666666666646 L89.76197511424174 50.349999999999994 L91.30908994281639 50.349999999999994 L91.30908994281639 49.083333333333314 L91.48762629201558 49.083333333333314 L91.48762629201558 47.81666666666666 L92.42778415057175 47.81666666666666 L92.42778415057175 46.55000000000001 L93.31618669485447 46.55000000000001 L93.31618669485447 45.28333333333333 L94.25987440920832 45.28333333333333 L94.25987440920832 44.01666666666668 L95.18683487050538 44.01666666666668 L95.18683487050538 42.75 L96.09512571581732 42.75 L96.09512571581732 41.48333333333335 L96.98169396897984 41.48333333333335 L96.98169396897984 40.21666666666667 L97.5448524322716 40.21666666666667 L97.5448524322716 38.94999999999999 L98.04288901867743 38.94999999999999 L98.04288901867743 37.68333333333334 L98.50652500353046 37.68333333333334 L98.50652500353046 36.41666666666666 L98.63240922530136 36.41666666666666 L98.63240922530136 35.150000000000006 L100.12346673799122 35.150000000000006 L100.12346673799122 33.883333333333326 L101.91463422664786 33.883333333333326 L101.91463422664786 32.616666666666674 L102.51226020041933 32.616666666666674 L102.51226020041933 31.349999999999994 L104.03414500175086 31.349999999999994 L104.03414500175086 30.083333333333343 L107.46156150509118 30.083333333333343 L107.46156150509118 28.816666666666663 L109.5238227025019 28.816666666666663 L109.5238227025019 27.55000000000001 L110.5337206889526 27.55000000000001 L110.5337206889526 26.28333333333333 L113.51564691912456 26.28333333333333 L113.51564691912456 25.01666666666668 L117.55756385640296 25.01666666666668 L117.55756385640296 23.75 L118.15646221149937 23.75 L118.15646221149937 22.48333333333332 L119.15369332858367 22.48333333333332 L119.15369332858367 21.21666666666667 L121.16281037389511 21.21666666666667 L121.16281037389511 19.94999999999999 L126.19664198065315 19.94999999999999 L126.19664198065315 18.683333333333337 L128.9666284091182 18.683333333333337 L128.9666284091182 17.416666666666657 L131.42802853576904 17.416666666666657 L131.42802853576904 16.150000000000006 L132.71773790592314 16.150000000000006 L132.71773790592314 14.883333333333326 L134.0592389254781 14.883333333333326 L134.0592389254781 13.616666666666674 L135.2315656520017 13.616666666666674 L135.2315656520017 12.349999999999994 L139.45054246196364 12.349999999999994 L139.45054246196364 11.083333333333343 L144.95719608340772 11.083333333333343 L144.95719608340772 9.816666666666663 L148.34826156623384 9.816666666666663 L148.34826156623384 8.550000000000011 L156.82969701774675 8.550000000000011 L156.82969701774675 7.283333333333331 L162.90666571361268 7.283333333333331 L162.90666571361268 6.0166666666666515 L175.64941232644256 6.0166666666666515 L175.64941232644256 4.75 L188.95709624624348 4.75 L188.95709624624348 3.48333333333332 L193.68940673865094 3.48333333333332 L193.68940673865094 2.2166666666666686 L236.01827420992828 2.2166666666666686 L236.01827420992828 0.9499999999999886 L392.38645734021446 0.9499999999999886 L392.38645734021446 0" fill="none" stroke="currentColor" stroke-width="1.5" opacity="0.65"/>
<path d="M10.658528786367059 189.68333333333334 L15.025613367868372 189.68333333333334 L15.025613367868372 188.41666666666666 L16.445041971268783 188.41666666666666 L16.445041971268783 187.15 L17.942622940668187 187.15 L17.942622940668187 185.88333333333333 L18.735741234707763 185.88333333333333 L18.735741234707763 184.61666666666667 L19.238808559885165 184.61666666666667 L19.238808559885165 183.35 L19.800317088540957 183.35 L19.800317088540957 182.08333333333334 L20.177991115628238 182.08333333333334 L20.177991115628238 180.81666666666666 L20.656666749008394 180.81666666666666 L20.656666749008394 179.55 L21.236638796819236 179.55 L21.236638796819236 178.28333333333333 L21.675515233333194 178.28333333333333 L21.675515233333194 177.01666666666668 L22.557901970604373 177.01666666666668 L22.557901970604373 175.75 L22.952316156190857 175.75 L22.952316156190857 174.48333333333335 L23.36213379624145 174.48333333333335 L23.36213379624145 173.21666666666667 L23.879842892052654 173.21666666666667 L23.879842892052654 171.95 L24.27896398627111 171.95 L24.27896398627111 170.68333333333334 L24.40735363410212 170.68333333333334 L24.40735363410212 169.41666666666666 L24.78910282008787 169.41666666666666 L24.78910282008787 168.15 L25.566731823467 168.15 L25.566731823467 166.88333333333333 L26.01325348142602 166.88333333333333 L26.01325348142602 165.61666666666667 L26.332902596395662 165.61666666666667 L26.332902596395662 164.35 L26.60061934207516 164.35 L26.60061934207516 163.08333333333334 L27.428254930644524 163.08333333333334 L27.428254930644524 161.81666666666666 L27.909656438041527 161.81666666666666 L27.909656438041527 160.55 L28.7009681241791 160.55 L28.7009681241791 159.28333333333333 L28.942703376542074 159.28333333333333 L28.942703376542074 158.01666666666665 L29.063224050788005 158.01666666666665 L29.063224050788005 156.75 L29.277473265466774 156.75 L29.277473265466774 155.48333333333335 L30.029518961659342 155.48333333333335 L30.029518961659342 154.21666666666667 L30.458716909509807 154.21666666666667 L30.458716909509807 152.95 L30.710696408120153 152.95 L30.710696408120153 151.68333333333334 L30.98638487709454 151.68333333333334 L30.98638487709454 150.41666666666666 L31.163997404813603 150.41666666666666 L31.163997404813603 149.15 L31.52078087327438 149.15 L31.52078087327438 147.88333333333333 L31.765727060445492 147.88333333333333 L31.765727060445492 146.61666666666667 L32.0460818509975 146.61666666666667 L32.0460818509975 145.35 L32.379494203849404 145.35 L32.379494203849404 144.08333333333334 L32.89075687044352 144.08333333333334 L32.89075687044352 142.81666666666666 L33.17117769095626 142.81666666666666 L33.17117769095626 141.55 L33.42754582319383 141.55 L33.42754582319383 140.28333333333333 L33.64470528309635 140.28333333333333 L33.64470528309635 139.01666666666668 L33.97978216745944 139.01666666666668 L33.97978216745944 137.75 L34.16162438000836 137.75 L34.16162438000836 136.48333333333335 L34.59747922867825 136.48333333333335 L34.59747922867825 135.21666666666667 L35.096521748508756 135.21666666666667 L35.096521748508756 133.95 L35.62747801560517 133.95 L35.62747801560517 132.68333333333334 L35.9360751786835 132.68333333333334 L35.9360751786835 131.41666666666666 L36.30453974675235 131.41666666666666 L36.30453974675235 130.15 L36.69935808966302 130.15 L36.69935808966302 128.88333333333333 L37.235180892386936 128.88333333333333 L37.235180892386936 127.61666666666667 L37.603538120809475 127.61666666666667 L37.603538120809475 126.35 L37.88015993705389 126.35 L37.88015993705389 125.08333333333333 L38.36692097331863 125.08333333333333 L38.36692097331863 123.81666666666666 L38.92077062490779 123.81666666666666 L38.92077062490779 122.55 L39.31626977983804 122.55 L39.31626977983804 121.28333333333333 L39.932006633086736 121.28333333333333 L39.932006633086736 120.01666666666667 L40.05715553555148 120.01666666666667 L40.05715553555148 118.75 L40.34910299698456 118.75 L40.34910299698456 117.48333333333333 L40.94940876893641 117.48333333333333 L40.94940876893641 116.21666666666667 L41.16104892104647 116.21666666666667 L41.16104892104647 114.95 L41.455366683163454 114.95 L41.455366683163454 113.68333333333334 L41.84319424658591 113.68333333333334 L41.84319424658591 112.41666666666667 L42.03267169909711 112.41666666666667 L42.03267169909711 111.15 L42.24849352505683 111.15 L42.24849352505683 109.88333333333333 L42.531628120526115 109.88333333333333 L42.531628120526115 108.61666666666666 L42.87402414799333 108.61666666666666 L42.87402414799333 107.35 L43.16142353572709 107.35 L43.16142353572709 106.08333333333334 L43.333375961285874 106.08333333333334 L43.333375961285874 104.81666666666668 L43.60949782091627 104.81666666666668 L43.60949782091627 103.55 L44.26628636521245 103.55 L44.26628636521245 102.28333333333333 L44.610641429267986 102.28333333333333 L44.610641429267986 101.01666666666667 L45.1051314500325 101.01666666666667 L45.1051314500325 99.75 L45.63807804763045 99.75 L45.63807804763045 98.48333333333333 L46.33453189899845 98.48333333333333 L46.33453189899845 97.21666666666667 L46.73523634173942 97.21666666666667 L46.73523634173942 95.95 L47.230039518031205 95.95 L47.230039518031205 94.68333333333332 L47.707235344316466 94.68333333333332 L47.707235344316466 93.41666666666667 L48.26469291217905 93.41666666666667 L48.26469291217905 92.14999999999999 L48.87185851818827 92.14999999999999 L48.87185851818827 90.88333333333334 L49.1375196312438 90.88333333333334 L49.1375196312438 89.61666666666667 L49.56693932238099 89.61666666666667 L49.56693932238099 88.35 L49.980096137249305 88.35 L49.980096137249305 87.08333333333334 L50.18750275087519 87.08333333333334 L50.18750275087519 85.81666666666666 L50.70473167066009 85.81666666666666 L50.70473167066009 84.55 L50.99766015961123 84.55 L50.99766015961123 83.28333333333333 L51.312570366104104 83.28333333333333 L51.312570366104104 82.01666666666667 L51.68873560033604 82.01666666666667 L51.68873560033604 80.75000000000001 L52.310669193158546 80.75000000000001 L52.310669193158546 79.48333333333333 L52.53812650391603 79.48333333333333 L52.53812650391603 78.21666666666665 L52.97745293734004 78.21666666666665 L52.97745293734004 76.95 L53.45078370808684 76.95 L53.45078370808684 75.68333333333334 L54.26832031793735 75.68333333333334 L54.26832031793735 74.41666666666667 L54.55843846930367 74.41666666666667 L54.55843846930367 73.15 L54.80052167885324 73.15 L54.80052167885324 71.88333333333333 L55.13823968345125 71.88333333333333 L55.13823968345125 70.61666666666667 L55.36072313810789 70.61666666666667 L55.36072313810789 69.35 L55.71033640711058 69.35 L55.71033640711058 68.08333333333333 L56.24601268425067 68.08333333333333 L56.24601268425067 66.81666666666666 L57.45756330832485 66.81666666666666 L57.45756330832485 65.55 L58.39256202127634 65.55 L58.39256202127634 64.28333333333335 L58.606890681580346 64.28333333333335 L58.606890681580346 63.016666666666666 L59.81739708951425 63.016666666666666 L59.81739708951425 61.75 L60.76287795243972 61.75 L60.76287795243972 60.48333333333335 L60.9804550814475 60.48333333333335 L60.9804550814475 59.21666666666667 L61.71320283158194 59.21666666666667 L61.71320283158194 57.95000000000002 L61.956420744133794 57.95000000000002 L61.956420744133794 56.68333333333334 L62.410604915982766 56.68333333333334 L62.410604915982766 55.41666666666666 L62.71914527208815 55.41666666666666 L62.71914527208815 54.150000000000006 L63.13377744772037 54.150000000000006 L63.13377744772037 52.883333333333326 L63.389645428124126 52.883333333333326 L63.389645428124126 51.616666666666646 L65.26005119153584 51.616666666666646 L65.26005119153584 50.349999999999994 L66.10474846491672 50.349999999999994 L66.10474846491672 49.083333333333314 L67.3949981698463 49.083333333333314 L67.3949981698463 47.81666666666666 L68.34985002655758 47.81666666666666 L68.34985002655758 46.55000000000001 L69.21805405740551 46.55000000000001 L69.21805405740551 45.28333333333333 L70.02241059162532 45.28333333333333 L70.02241059162532 44.01666666666668 L70.39143971143456 44.01666666666668 L70.39143971143456 42.75 L71.03886604047365 42.75 L71.03886604047365 41.48333333333335 L71.87372174328173 41.48333333333335 L71.87372174328173 40.21666666666667 L72.93587757321892 40.21666666666667 L72.93587757321892 38.94999999999999 L73.51853595938684 38.94999999999999 L73.51853595938684 37.68333333333334 L74.31015153764052 37.68333333333334 L74.31015153764052 36.41666666666666 L76.261994531209 36.41666666666666 L76.261994531209 35.150000000000006 L76.58155538677693 35.150000000000006 L76.58155538677693 33.883333333333326 L77.26407738973592 33.883333333333326 L77.26407738973592 32.616666666666674 L77.77312030543682 32.616666666666674 L77.77312030543682 31.349999999999994 L78.41660802424401 31.349999999999994 L78.41660802424401 30.083333333333343 L78.76351525918022 30.083333333333343 L78.76351525918022 28.816666666666663 L79.0946251200824 28.816666666666663 L79.0946251200824 27.55000000000001 L80.10618401041168 27.55000000000001 L80.10618401041168 26.28333333333333 L82.12270035098058 26.28333333333333 L82.12270035098058 25.01666666666668 L83.42407681638996 25.01666666666668 L83.42407681638996 23.75 L85.41297789431053 23.75 L85.41297789431053 22.48333333333332 L87.65273617407895 22.48333333333332 L87.65273617407895 21.21666666666667 L88.58963730088297 21.21666666666667 L88.58963730088297 19.94999999999999 L89.38142113906086 19.94999999999999 L89.38142113906086 18.683333333333337 L90.52338549121052 18.683333333333337 L90.52338549121052 17.416666666666657 L93.51045291223046 17.416666666666657 L93.51045291223046 16.150000000000006 L94.68468408095764 16.150000000000006 L94.68468408095764 14.883333333333326 L97.19007185689983 14.883333333333326 L97.19007185689983 13.616666666666674 L100.18175588714051 13.616666666666674 L100.18175588714051 12.349999999999994 L101.74285982017153 12.349999999999994 L101.74285982017153 11.083333333333343 L104.99663205715993 11.083333333333343 L104.99663205715993 9.816666666666663 L108.13811719924624 9.816666666666663 L108.13811719924624 8.550000000000011 L109.70590337821407 8.550000000000011 L109.70590337821407 7.283333333333331 L112.6684088141971 7.283333333333331 L112.6684088141971 6.0166666666666515 L121.0318711780834 6.0166666666666515 L121.0318711780834 4.75 L139.46345477944124 4.75 L139.46345477944124 3.48333333333332 L151.22814040283 3.48333333333332 L151.22814040283 2.2166666666666686 L185.5207885029865 2.2166666666666686 L185.5207885029865 0.9499999999999886 L213.68801004256537 0.9499999999999886 L213.68801004256537 0" fill="none" stroke="#3B82C4" stroke-width="2.5"/>
</g>
<text x="103.88055226264468" y="38" font-size="11" dominant-baseline="central" fill="currentColor" opacity="0.65">v2.2</text>
<text x="79.39392543195741" y="24" font-size="11" dominant-baseline="central" fill="currentColor">v2.3</text>
</svg>
```

タイトルの「19%」は手書きではなく、ジェネレータが実際のサンプルの p99 から計算して埋めている。結論タイトルが図とずれる余地がない。系列は v2.2 をグレー（規約の color.baseline）、v2.3 をパレットの青（color.highlight 的な 1 色だけの彩色）にした。p50/p90/p99 の薄いガイド線で読み取りを補助する。

なお 600 点 × 2 系列の全頂点を描くと SVG が 90KB になったので、`ecdfPoints` に間引きを入れて 150 頂点程度に落とした（統計量は同じで描画だけ疎。27KB になった）。

## 図2: 時系列 → 折れ線 + イベント線

問いは「デプロイを挟んでレイテンシはどう変わったか」。日次集計の p50 と p90 を 2 本の線で、10/08 のデプロイを縦線で注記する。

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-32.5 -65 725.5 289" width="726" height="289" role="img" aria-label="daily p50/p90 latency: p90 drops about 29% after the 10/08 deploy (virtual data)">
<text x="0" y="-40" font-size="15" fill="currentColor">10/08 デプロイ後に p90 が約 29% 低下（仮想データ）</text>
<text x="0" y="-22" font-size="11" fill="currentColor" opacity="0.65">JST、1 時間平均の日次集計、2026-10-01〜10-14、仮想データ</text>
<text x="0" y="212" font-size="10" fill="currentColor" opacity="0.55">出典: 仮想データ (seed 20261030) / 集計: 日次 / イベント: 10/08 v2.3 デプロイ / 生成: tools/svg-gen/examples/fig-chart-series.ts</text>
<path d="M0 0 L0 170" fill="none" stroke="currentColor" stroke-width="1" opacity="0.45"/>
<path d="M0 170 L420 170" fill="none" stroke="currentColor" stroke-width="1" opacity="0.45"/>
<path d="M-3 170 L0 170" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="170" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">0</text>
<path d="M0 170 L420 170" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 143.4375 L0 143.4375" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="143.4375" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">50</text>
<path d="M0 143.4375 L420 143.4375" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 116.875 L0 116.875" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="116.875" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">100</text>
<path d="M0 116.875 L420 116.875" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 90.3125 L0 90.3125" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="90.3125" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">150</text>
<path d="M0 90.3125 L420 90.3125" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 63.75 L0 63.75" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="63.75" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">200</text>
<path d="M0 63.75 L420 63.75" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 37.1875 L0 37.1875" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="37.1875" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">250</text>
<path d="M0 37.1875 L420 37.1875" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 10.625 L0 10.625" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="10.625" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">300</text>
<path d="M0 10.625 L420 10.625" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M32.30769230769231 170 L32.30769230769231 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="32.30769230769231" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">10/2</text>
<path d="M96.92307692307693 170 L96.92307692307693 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="96.92307692307693" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">10/4</text>
<path d="M161.53846153846155 170 L161.53846153846155 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="161.53846153846155" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">10/6</text>
<path d="M226.15384615384613 170 L226.15384615384613 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="226.15384615384613" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">10/8</text>
<path d="M290.7692307692308 170 L290.7692307692308 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="290.7692307692308" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">10/10</text>
<path d="M355.38461538461536 170 L355.38461538461536 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="355.38461538461536" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">10/12</text>
<path d="M420 170 L420 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="420" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">10/14</text>
<text x="210" y="200" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">日付 (JST)</text>
<text x="0" y="-8" font-size="10" fill="currentColor" opacity="0.7">レイテンシ (ms)</text>
<text x="230.15384615384613" y="10" font-size="10" fill="currentColor" opacity="0.8">10/08 v2.3 デプロイ</text>
<g data-plot="0 0 420 170">
<line x1="226.15384615384613" y1="0" x2="226.15384615384613" y2="170" stroke="currentColor" stroke-width="1" stroke-dasharray="4 3" opacity="0.6"/>
<path d="M0 34.204640700073895 L32.30769230769231 45.13650708806341 L64.61538461538461 40.914432633241375 L96.92307692307693 43.75558861927925 L129.23076923076923 37.93794719042225 L161.53846153846155 21.983189669676193 L193.84615384615387 20.208134663072002 L226.15384615384613 76.10527884623164 L258.46153846153845 71.54158591863032 L290.7692307692308 84.60994153184781 L323.0769230769231 90.0010756180787 L355.38461538461536 72.33551916052146 L387.69230769230774 80.753850635488 L420 63.282874242192364" fill="none" stroke="#D55E00" stroke-width="1.5" stroke-dasharray="5 3"/>
<path d="M0 90.52766959993517 L32.30769230769231 94.08988420184882 L64.61538461538461 93.73429732973858 L96.92307692307693 91.87150181453288 L129.23076923076923 91.88908631215793 L161.53846153846155 90.48365187897411 L193.84615384615387 85.64018636695515 L226.15384615384613 113.40297220243062 L258.46153846153845 114.57041447092459 L290.7692307692308 117.84535981582863 L323.0769230769231 116.50141327844031 L355.38461538461536 110.66745882162292 L387.69230769230774 109.78281330907778 L420 108.36216237463798" fill="none" stroke="#3B82C4" stroke-width="2.5"/>
</g>
<text x="426" y="108.36216237463798" font-size="10" dominant-baseline="central" fill="currentColor">p50</text>
<text x="426" y="63.282874242192364" font-size="10" dominant-baseline="central" fill="currentColor" opacity="0.65">p90</text>
</svg>
```

規約の「デプロイ・設定変更は縦線と短いラベルで注記」「タイムゾーン明記」「集計単位を書く」がそのまま実装項目になった。系列区別は colorful オプション（p50 は青、p90 は朱色）で、破線と太さをフォールバックとして併用している。右端の直接ラベルで凡例箱を引かずに済ませている。

## 図3: 関係 → 散布図（log 軸）

問いは「ペイロードサイズとレイテンシはどう関係するか」。3 桁にまたがるペイロードには log 軸を選び、規約どおり軸タイトルに `(log)` を書いた。

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-32.5 -65 652.5 309" width="653" height="309" role="img" aria-label="scatter of payload size vs latency: about +43 ms per decade of payload (virtual data)">
<text x="0" y="-40" font-size="15" fill="currentColor">ペイロード 1 桁ごとにレイテンシ +約 43 ms（仮想データ）</text>
<text x="0" y="-22" font-size="11" fill="currentColor" opacity="0.65">n = 220 リクエスト、2026-10-14 の 1 時間、生値、仮想データ</text>
<text x="0" y="232" font-size="10" fill="currentColor" opacity="0.55">出典: 仮想データ (seed 20261031) / n = 220 / 集計: なし（生値）/ 生成: tools/svg-gen/examples/fig-chart-scatter.ts</text>
<path d="M0 0 L0 190" fill="none" stroke="currentColor" stroke-width="1" opacity="0.45"/>
<path d="M0 190 L420 190" fill="none" stroke="currentColor" stroke-width="1" opacity="0.45"/>
<path d="M-3 190 L0 190" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="190" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">0</text>
<path d="M0 190 L420 190" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 166.25 L0 166.25" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="166.25" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">50</text>
<path d="M0 166.25 L420 166.25" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 142.5 L0 142.5" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="142.5" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">100</text>
<path d="M0 142.5 L420 142.5" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 118.75 L0 118.75" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="118.75" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">150</text>
<path d="M0 118.75 L420 118.75" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 95 L0 95" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="95" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">200</text>
<path d="M0 95 L420 95" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 71.25 L0 71.25" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="71.25" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">250</text>
<path d="M0 71.25 L420 71.25" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 47.5 L0 47.5" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="47.5" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">300</text>
<path d="M0 47.5 L420 47.5" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 23.75 L0 23.75" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="23.75" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">350</text>
<path d="M0 23.75 L420 23.75" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 0 L0 0" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="0" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">400</text>
<path d="M0 0 L420 0" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M0 190 L0 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="0" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">1</text>
<path d="M42.14419939295737 190 L42.14419939295737 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="42.14419939295737" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">2</text>
<path d="M97.85580060704264 190 L97.85580060704264 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="97.85580060704264" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">5</text>
<path d="M140 190 L140 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="140" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">10</text>
<path d="M182.14419939295738 190 L182.14419939295738 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="182.14419939295738" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">20</text>
<path d="M237.85580060704262 190 L237.85580060704262 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="237.85580060704262" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">50</text>
<path d="M280 190 L280 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="280" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">100</text>
<path d="M322.1441993929574 190 L322.1441993929574 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="322.1441993929574" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">200</text>
<path d="M377.8558006070426 190 L377.8558006070426 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="377.8558006070426" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">500</text>
<path d="M420 190 L420 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="420" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">1000</text>
<text x="210" y="220" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">ペイロード (KiB, log)</text>
<text x="0" y="-8" font-size="10" fill="currentColor" opacity="0.7">レイテンシ (ms)</text>
<g data-plot="0 0 420 190">
<circle cx="188.41732890810817" cy="134.39756908268518" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="280.89951428119093" cy="142.08406851778037" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="147.82073840964586" cy="156.0262966989205" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="259.5414887694642" cy="112.75644233533598" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="185.24706976488233" cy="158.91346104181304" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="119.1658998420462" cy="151.151499108692" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="33.559405622072525" cy="163.58389244632875" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="236.24956611078233" cy="158.63618732628973" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="278.5748054785654" cy="125.56105794171722" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="254.602639968507" cy="124.81698255595317" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="9.157651551067834" cy="165.3235568498888" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="291.3047427451238" cy="137.9188908389716" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="295.20011545624584" cy="136.22564311535285" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="348.8269413029775" cy="125.7996658401258" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="233.30979024991393" cy="138.54023073571665" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="281.8698321701959" cy="136.83130166259195" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="131.92801981698722" cy="142.9642816308559" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="67.02763475943357" cy="177.43944684716325" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="254.04715909156948" cy="147.96705552837517" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="260.59642620384693" cy="131.13048362151653" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="34.30835209786892" cy="179.41853007596325" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="114.13845696486533" cy="71.18619568394018" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="295.893089636229" cy="128.95746052992786" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="273.5920149553567" cy="127.86474834814936" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="396.252838075161" cy="121.74911197968534" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="141.66967471595854" cy="159.95688097136915" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="105.94130226876587" cy="153.22731846850238" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="376.4651420339942" cy="122.2491070936741" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="92.36318981274962" cy="159.61574068060372" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="274.5021955249831" cy="155.08791196770943" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="248.9058603392914" cy="124.52346838811476" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="386.8689839495346" cy="120.71937532700036" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="285.9490278130397" cy="135.24658217683665" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="231.53527634683996" cy="39.21897970001149" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="12.472889148630202" cy="177.16404134596175" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="139.1610466595739" cy="145.9165056676029" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="415.3922496456653" cy="114.41955674467371" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="123.09861108195037" cy="149.80310163123636" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="114.0066416747868" cy="154.17815206466767" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="149.62262390647084" cy="147.92784562475788" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="191.53693556785583" cy="130.6876848520331" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="216.57657964155078" cy="120.91694926492518" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="97.18338032718748" cy="134.92322730608385" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="183.40896209701896" cy="144.36947910848085" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="90.30910457018763" cy="150.3367028513724" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="201.87355389352888" cy="137.85595550554459" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="22.347530261613425" cy="167.03152696691657" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="4.985873023979367" cy="183.03269414104832" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="207.82500351313502" cy="138.01868164815932" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="405.5636932980269" cy="110.63198448877834" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="101.3739131949842" cy="150.8379445835092" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="396.6723102796823" cy="114.83084082527363" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="238.2561813108623" cy="128.1981134155231" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="322.7962838904932" cy="140.03380155381728" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="328.9981052884832" cy="114.87396451885603" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="287.8921395074576" cy="62.6529939145712" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="92.61270525399595" cy="147.56964106035664" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="220.46615591738373" cy="141.70852417894315" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="245.30440312810242" cy="128.43256552971212" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="349.222238631919" cy="118.35042317470618" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="140.8477912377566" cy="153.81517124701355" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="4.300457043573265" cy="165.73207063088014" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="156.16474147886038" cy="46.56752352953262" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="383.2239984674379" cy="114.12243058872151" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="161.33191643748432" cy="145.18256131672808" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="176.63701799232513" cy="151.736305964275" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="22.188110053539273" cy="151.25639906099573" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="128.3612322807312" cy="55.070344338738806" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="51.140646105632186" cy="158.357288572129" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="266.53083552606404" cy="138.86412770781115" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="155.88837360497564" cy="158.56525670196262" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="76.57077003736049" cy="154.55386774402277" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="231.96861217729747" cy="54.45961335744565" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="251.21112900786102" cy="139.31193379230933" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="67.06664557568729" cy="168.54673638600633" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="70.33864611759782" cy="148.66170009876186" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="153.19696817547083" cy="137.94719036603348" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="277.56342936772853" cy="153.04044875380475" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="355.42383873369545" cy="123.18476624232221" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="346.03766134008765" cy="112.49868696406307" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="329.737194548361" cy="135.47364703076374" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="350.4691341519356" cy="125.89820303056024" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="320.1236843364313" cy="126.54708095058224" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="400.5623089056462" cy="115.73590853531721" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="142.1029242966324" cy="163.802685356913" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="319.57543827127665" cy="132.52280873982372" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="302.7449170779437" cy="124.07740365417345" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="335.2498178835958" cy="118.35299459252282" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="155.70249593351036" cy="156.68824993755086" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="401.6846208181232" cy="135.49954201335026" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="306.3211836805567" cy="117.88411848560528" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="163.95702179521322" cy="147.67496433594582" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="348.3415516745299" cy="129.0421971606733" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="75.81981253344566" cy="132.6071332385784" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="12.617748104967173" cy="159.58925064461198" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="386.79871286731213" cy="122.39975351880743" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="258.8812708295882" cy="146.77545497926357" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="178.1009670579806" cy="177.2817979209809" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="205.77441529836506" cy="140.3964636139937" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="167.32611817773432" cy="137.80898554149383" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="96.61639400292188" cy="173.4417494580757" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="81.6258613485843" cy="166.56919261467243" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="82.10759230423719" cy="151.29240228662147" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="49.28222553804517" cy="185.94900084371926" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="123.29135607462376" cy="166.1090268320738" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="238.73224960640073" cy="135.4633584781455" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="227.1833645598963" cy="145.44930653335564" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="196.53690837789327" cy="148.94630775158336" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="4.423894272185856" cy="172.3468703185091" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="313.28823594376445" cy="119.64112318931252" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="207.19890567474067" cy="158.16369157206816" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="152.74569434579462" cy="160.02734815897" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="289.3258693674579" cy="149.3658089971303" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="210.12729490175843" cy="154.58613487128218" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="55.6781999906525" cy="164.6476313448427" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="73.83238585665822" cy="183.49480782958412" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="135.3833635384217" cy="150.11192296216333" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="419.4889937946573" cy="107.06527696575017" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="193.17656761966646" cy="138.94637910850705" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="144.95871956460178" cy="147.6234944847111" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="165.4063559230417" cy="134.44830504326723" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="208.93715398851782" cy="146.12798243393354" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="319.96339165605605" cy="113.42131508179023" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="364.96138508431613" cy="132.8575311675354" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="299.0282043395564" cy="134.55890406585854" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="384.395068497397" cy="126.21831622980397" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="5.246371035464106" cy="182.5683171602809" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="175.9278449881822" cy="145.3881248158649" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="49.73589812871069" cy="151.2633435112739" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="393.0665559321642" cy="113.58458881835195" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="360.4905289784074" cy="107.14337235610193" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="303.47209985833615" cy="130.44445119197783" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="252.6032891124487" cy="129.91495251946725" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="283.9680501166731" cy="131.75391277983044" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="198.16923540551215" cy="163.55275625704792" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="16.117368671111766" cy="152.33156656671161" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="418.92234650440514" cy="100.85537845929771" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="272.0983984088525" cy="140.72760539657043" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="267.337529361248" cy="128.36409766047828" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="126.04710765648633" cy="152.17716551301885" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="387.13078470434994" cy="120.61720941792265" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="111.1750895390287" cy="152.21498911563378" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="191.9519016612321" cy="139.36871837658322" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="304.7584536764771" cy="146.96480927221484" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="133.95221706479788" cy="140.59888399129952" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="26.738348132930703" cy="186.2" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="80.90715207159519" cy="150.69311742722508" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="6.52768237050623" cy="172.47981191772234" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="416.08501543756574" cy="116.96948302354366" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="388.9064656198025" cy="10.846967561070983" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="175.1536153955385" cy="159.60278064315207" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="59.74453287664801" cy="168.266467811858" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="98.11289258301258" cy="158.02045088265794" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="70.65353019163013" cy="150.13025641694648" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="35.183831308968365" cy="168.12888072502147" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="358.3847803110257" cy="121.4341965917355" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="19.160603005439043" cy="150.53273780168698" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="260.17328271176666" cy="43.23115573320436" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="68.46911692991853" cy="175.88496239102017" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="115.62636616174132" cy="180.91673695333256" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="119.30822831578553" cy="136.22868475044774" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="9.955234592780474" cy="168.7285635980387" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="262.13847562205046" cy="126.90735437526001" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="46.54360959772021" cy="175.54018078249752" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="170.30278195627034" cy="159.6420754787951" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="321.9460097607225" cy="118.67492461074045" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="257.8489164635539" cy="108.31189314652116" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="111.21687648352236" cy="142.14825872731268" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="381.42903573811054" cy="116.48732587007424" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="374.25599493552" cy="128.910352354306" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="38.410985679365695" cy="96.59505785980036" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="264.92971380706877" cy="117.90134135268413" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="151.22689354699105" cy="150.98196306753775" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="93.07132332120091" cy="172.15225333095123" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="406.10507634468377" cy="105.56174691601541" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="314.5390617940575" cy="136.17160144918446" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="271.70938313473016" cy="163.1887720989211" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="167.03669773880392" cy="140.54591241653358" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="136.82695716619492" cy="149.47421702942896" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="192.7409900771454" cy="135.2494905084145" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="209.0938558615744" cy="138.0686886301297" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="355.21056179422885" cy="104.30181542431518" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="49.75126144476235" cy="172.98021193681868" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="240.37505275569856" cy="137.76631587777825" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="370.5279933521524" cy="47.96296616250751" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="269.49292993638664" cy="125.9277100884759" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="147.55285000428557" cy="172.0159898608976" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="51.740640574134886" cy="159.09676858548556" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="347.6720550376922" cy="108.80684135802039" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="133.4287148108706" cy="155.70876880468134" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="67.80485737603158" cy="145.81789896297397" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="222.02657018322498" cy="137.3395447693553" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="401.3646741164848" cy="125.24546392574106" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="88.34576739929616" cy="170.89474308865357" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="89.28296615369618" cy="175.62297894357008" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="81.58034757245332" cy="143.23693603322417" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="101.83416453190148" cy="160.1455617615008" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="52.693570135161295" cy="158.90717875858056" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="279.38906787894666" cy="137.160984745458" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="83.33983787801117" cy="172.75812837567088" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="204.67870010063052" cy="150.3748135360115" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="183.27629144769162" cy="160.6173406403319" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="397.0506368391216" cy="104.67958550645734" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="256.11629453022033" cy="133.56995244728938" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="97.64614092651755" cy="171.71669915025961" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="266.9091097684577" cy="124.56444515497327" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="297.5111008621752" cy="150.82399211175266" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="87.4390453286469" cy="169.44575668361477" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="211.53942114673555" cy="148.21438424304478" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="412.6094419369474" cy="113.71730205015714" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="79.85138626769185" cy="172.9820137625434" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="343.07842422276735" cy="124.07103776710791" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="213.79556362051517" cy="154.3082714510674" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="62.11188261397183" cy="160.6913527636391" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="193.81092314142734" cy="143.98614608254" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="59.1493307473138" cy="167.0567937010133" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="274.30625391192734" cy="131.23484520228394" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="60.16137280035764" cy="163.23942304766496" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="125.67554026376456" cy="148.47242154004942" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<circle cx="165.60049245133996" cy="168.32826086141057" r="1.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<path d="M0 169.25257370714047 L420 108.1096948639552" fill="none" stroke="#3B82C4" stroke-width="1.5" stroke-dasharray="2 3" opacity="0.8"/>
</g>
<text x="346.79697566075276" y="110.76646545473935" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">単回帰（説明用）</text>
</svg>
```

回帰線は実測の系列と同じ記法にしないため、破線 + パレットの青 + 「単回帰（説明用）」のラベルで「フィットしたモデル」だと分かるようにした。右上の外れ値の束はそのまま残してある——黙って除外すると結論が変わり得るので（除外するなら基準と件数の注記が必須）。

## 図4: 比較 → 箱ひげ + 生データ点

問いは「4 つの実装でベンチマーク結果はどう違うか」。分布の形ごと比べる箱ひげ図を選び、ジッターで散らした生データ点を重ねた（規約は n < 30 で点の重ねを MUST にしているが、n=160 でも間引いた点を重ねると形が読める）。

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-32.5 -65 801.5 309" width="802" height="309" role="img" aria-label="box plot of four benchmark variants; the cached group is secretly bimodal (virtual data)">
<text x="0" y="-40" font-size="15" fill="currentColor">"cached" は箱では一様だが、実は二峰（仮想データ）</text>
<text x="0" y="-22" font-size="11" fill="currentColor" opacity="0.65">ベンチマーク試行 n = 160 / impl、中央値最小は "cached"、仮想データ</text>
<text x="0" y="232" font-size="10" fill="currentColor" opacity="0.55">出典: 仮想データ (tools/svg-gen/examples/data.ts, seed 20261102) / n = 160×4 / ひげ: 1.5×IQR / 生成: tools/svg-gen/examples/fig-chart-box.ts</text>
<path d="M0 0 L0 190" fill="none" stroke="currentColor" stroke-width="1" opacity="0.45"/>
<path d="M0 190 L420 190" fill="none" stroke="currentColor" stroke-width="1" opacity="0.45"/>
<path d="M-3 190 L0 190" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="190" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">40</text>
<path d="M0 190 L420 190" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 172.72727272727272 L0 172.72727272727272" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="172.72727272727272" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">60</text>
<path d="M0 172.72727272727272 L420 172.72727272727272" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 155.45454545454544 L0 155.45454545454544" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="155.45454545454544" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">80</text>
<path d="M0 155.45454545454544 L420 155.45454545454544" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 138.1818181818182 L0 138.1818181818182" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="138.1818181818182" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">100</text>
<path d="M0 138.1818181818182 L420 138.1818181818182" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 120.9090909090909 L0 120.9090909090909" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="120.9090909090909" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">120</text>
<path d="M0 120.9090909090909 L420 120.9090909090909" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 103.63636363636364 L0 103.63636363636364" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="103.63636363636364" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">140</text>
<path d="M0 103.63636363636364 L420 103.63636363636364" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 86.36363636363637 L0 86.36363636363637" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="86.36363636363637" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">160</text>
<path d="M0 86.36363636363637 L420 86.36363636363637" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 69.0909090909091 L0 69.0909090909091" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="69.0909090909091" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">180</text>
<path d="M0 69.0909090909091 L420 69.0909090909091" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 51.81818181818181 L0 51.81818181818181" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="51.81818181818181" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">200</text>
<path d="M0 51.81818181818181 L420 51.81818181818181" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 34.54545454545453 L0 34.54545454545453" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="34.54545454545453" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">220</text>
<path d="M0 34.54545454545453 L420 34.54545454545453" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 17.27272727272728 L0 17.27272727272728" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="17.27272727272728" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">240</text>
<path d="M0 17.27272727272728 L420 17.27272727272728" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 0 L0 0" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="0" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">260</text>
<path d="M0 0 L420 0" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M52.5 190 L52.5 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="52.5" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">naive</text>
<path d="M157.5 190 L157.5 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="157.5" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">simd</text>
<path d="M262.5 190 L262.5 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="262.5" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">cached</text>
<path d="M367.5 190 L367.5 193" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="367.5" y="206" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">async-io</text>
<text x="0" y="-8" font-size="10" fill="currentColor" opacity="0.7">試行時間 (ms)</text>
<g data-plot="0 0 420 190">
<circle cx="14.5" cy="134.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="59.3" cy="124.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="93.8" cy="121.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="51.1" cy="116.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="49.0" cy="115.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="107.2" cy="113.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="1.5" cy="110.7" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="87.3" cy="108.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="43.7" cy="106.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="51.9" cy="105.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="112.1" cy="104.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="1.5" cy="102.7" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="42.4" cy="101.8" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="99.0" cy="100.7" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="9.3" cy="100.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="93.0" cy="99.4" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="1.5" cy="98.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="123.2" cy="98.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="47.9" cy="96.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="69.9" cy="94.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="46.4" cy="93.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="25.9" cy="90.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="79.2" cy="90.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="1.5" cy="89.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="16.8" cy="89.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="2.9" cy="88.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="37.0" cy="87.4" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="41.7" cy="87.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="78.6" cy="84.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="85.2" cy="83.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="1.5" cy="82.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="1.5" cy="81.4" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="67.2" cy="81.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="1.5" cy="79.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="116.5" cy="78.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="93.2" cy="76.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="5.7" cy="75.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="46.1" cy="74.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="121.6" cy="71.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="101.0" cy="64.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<line x1="52.5" y1="134.5115113748679" x2="52.5" y2="50.18420547139877" stroke="#3B82C4" stroke-width="1" opacity="0.8"/>
<line x1="34.02" y1="134.5115113748679" x2="70.97999999999999" y2="134.5115113748679" stroke="#3B82C4" stroke-width="1"/>
<line x1="34.02" y1="50.18420547139877" x2="70.97999999999999" y2="50.18420547139877" stroke="#3B82C4" stroke-width="1"/>
<circle cx="52.5" cy="48.0" r="1.6" fill="none" stroke="#3B82C4" stroke-width="1" opacity="0.6"/>
<rect x="6.3" y="82.6" width="92.4" height="21.6" fill="#3B82C4" fill-opacity="0.18" stroke="#3B82C4" stroke-width="1.5"/>
<line x1="6.300000000000011" y1="93.37393909059683" x2="98.69999999999999" y2="93.37393909059683" stroke="#3B82C4" stroke-width="2.5"/>
<circle cx="201.4" cy="163.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="117.4" cy="153.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="91.9" cy="151.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="189.3" cy="148.4" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="218.2" cy="147.7" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="169.6" cy="146.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="124.1" cy="145.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="92.1" cy="143.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="230.8" cy="142.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="122.2" cy="141.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="194.3" cy="140.7" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="194.5" cy="139.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="202.7" cy="138.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="167.0" cy="137.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="113.4" cy="137.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="176.4" cy="136.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="149.3" cy="136.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="134.0" cy="135.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="205.7" cy="134.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="157.7" cy="134.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="123.1" cy="133.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="221.6" cy="131.8" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="111.0" cy="131.4" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="98.6" cy="130.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="162.3" cy="130.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="171.1" cy="129.4" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="139.8" cy="128.8" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="99.4" cy="128.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="111.0" cy="127.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="167.6" cy="126.7" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="224.2" cy="125.8" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="174.2" cy="125.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="181.6" cy="124.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="118.8" cy="123.8" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="91.9" cy="122.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="222.3" cy="121.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="185.1" cy="120.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="213.9" cy="119.8" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="152.5" cy="117.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="173.3" cy="112.8" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<line x1="157.5" y1="163.00635011634756" x2="157.5" y2="103.55949551015183" stroke="#3B82C4" stroke-width="1" opacity="0.8"/>
<line x1="139.02" y1="163.00635011634756" x2="175.98" y2="163.00635011634756" stroke="#3B82C4" stroke-width="1"/>
<line x1="139.02" y1="103.55949551015183" x2="175.98" y2="103.55949551015183" stroke="#3B82C4" stroke-width="1"/>
<circle cx="157.5" cy="163.5" r="1.6" fill="none" stroke="#3B82C4" stroke-width="1" opacity="0.6"/>
<circle cx="157.5" cy="98.9" r="1.6" fill="none" stroke="#3B82C4" stroke-width="1" opacity="0.6"/>
<rect x="111.3" y="125.9" width="92.4" height="14.9" fill="#3B82C4" fill-opacity="0.18" stroke="#3B82C4" stroke-width="1.5"/>
<line x1="111.30000000000001" y1="133.26725988282976" x2="203.7" y2="133.26725988282976" stroke="#3B82C4" stroke-width="2.5"/>
<circle cx="291.9" cy="170.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="234.8" cy="161.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="277.2" cy="160.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="191.6" cy="158.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="293.2" cy="155.8" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="288.3" cy="154.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="222.9" cy="154.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="274.0" cy="152.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="326.6" cy="151.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="283.5" cy="150.8" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="259.7" cy="150.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="215.6" cy="149.8" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="188.7" cy="148.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="287.9" cy="147.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="264.8" cy="146.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="292.1" cy="145.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="192.7" cy="145.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="283.4" cy="144.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="287.4" cy="143.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="212.4" cy="142.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="242.5" cy="141.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="265.5" cy="140.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="274.6" cy="140.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="276.2" cy="138.8" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="252.5" cy="106.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="306.8" cy="97.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="224.7" cy="95.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="285.9" cy="90.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="274.5" cy="88.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="197.1" cy="86.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="253.8" cy="83.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="207.9" cy="81.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="227.4" cy="78.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="268.1" cy="75.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="297.8" cy="72.7" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="227.8" cy="71.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="332.9" cy="70.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="192.6" cy="66.7" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="281.6" cy="63.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="332.6" cy="59.7" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<line x1="262.5" y1="170.5271467749294" x2="262.5" y2="55.0270285054612" stroke="#3B82C4" stroke-width="1" opacity="0.8"/>
<line x1="244.02" y1="170.5271467749294" x2="280.98" y2="170.5271467749294" stroke="#3B82C4" stroke-width="1"/>
<line x1="244.02" y1="55.0270285054612" x2="280.98" y2="55.0270285054612" stroke="#3B82C4" stroke-width="1"/>
<rect x="216.3" y="83.2" width="92.4" height="66.9" fill="#3B82C4" fill-opacity="0.18" stroke="#3B82C4" stroke-width="1.5"/>
<line x1="216.3" y1="141.81785711775723" x2="308.7" y2="141.81785711775723" stroke="#3B82C4" stroke-width="2.5"/>
<circle cx="344.8" cy="174.4" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="338.8" cy="151.8" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="297.7" cy="148.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="418.5" cy="145.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="418.5" cy="144.7" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="375.9" cy="141.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="301.6" cy="139.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="373.7" cy="138.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="374.9" cy="136.7" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="357.7" cy="134.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="327.7" cy="133.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="368.5" cy="130.7" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="314.2" cy="129.9" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="349.8" cy="128.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="329.8" cy="127.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="369.3" cy="126.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="361.8" cy="124.4" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="298.6" cy="123.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="412.7" cy="122.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="315.2" cy="121.4" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="346.5" cy="120.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="418.5" cy="119.4" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="310.0" cy="118.4" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="418.5" cy="117.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="407.9" cy="115.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="296.2" cy="114.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="412.7" cy="113.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="315.5" cy="112.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="305.1" cy="108.5" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="410.5" cy="106.0" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="345.4" cy="104.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="382.6" cy="103.1" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="403.2" cy="102.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="324.2" cy="101.7" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="317.3" cy="99.4" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="405.5" cy="98.8" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="350.9" cy="95.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="418.0" cy="78.2" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="315.4" cy="69.3" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<circle cx="331.0" cy="64.6" r="1.3" fill="#3B82C4" fill-opacity="0.28" stroke="none"/>
<line x1="367.5" y1="174.38727082905297" x2="367.5" y2="61.41563590131139" stroke="#3B82C4" stroke-width="1" opacity="0.8"/>
<line x1="349.02" y1="174.38727082905297" x2="385.98" y2="174.38727082905297" stroke="#3B82C4" stroke-width="1"/>
<line x1="349.02" y1="61.41563590131139" x2="385.98" y2="61.41563590131139" stroke="#3B82C4" stroke-width="1"/>
<circle cx="367.5" cy="59.1" r="1.6" fill="none" stroke="#3B82C4" stroke-width="1" opacity="0.6"/>
<circle cx="367.5" cy="55.7" r="1.6" fill="none" stroke="#3B82C4" stroke-width="1" opacity="0.6"/>
<circle cx="367.5" cy="46.2" r="1.6" fill="none" stroke="#3B82C4" stroke-width="1" opacity="0.6"/>
<rect x="321.3" y="104.5" width="92.4" height="28.7" fill="#3B82C4" fill-opacity="0.18" stroke="#3B82C4" stroke-width="1.5"/>
<line x1="321.3" y1="120.67964840132149" x2="413.7" y2="120.67964840132149" stroke="#3B82C4" stroke-width="2.5"/>
</g>
</svg>
```

ここで罠がある。`cached` の箱は「ちょっと幅の広い一様な分布」に見えるが、実はこのデータは二峰になっている（速い経路と遅い経路が混ざっている）。規約の制約欄にある「箱ひげは多峰性を隠す」を、わざと再現した。点の方にはうっすら谷が見えるが、箱だけを読むと見逃す。

## 図5: 分布（同じデータ、別の図）→ ヒストグラム

図4 と同じ `cached` のデータ（出典も同じ data.ts）を、ビン幅 10ms のヒストグラムにすると:

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-27 -65 784 289" width="784" height="289" role="img" aria-label="histogram of cached trials showing two modes (same virtual data as the box plot)">
<text x="0" y="-40" font-size="15" fill="currentColor">"cached" の試行時間は二峰（箱ひげと同じデータ、仮想）</text>
<text x="0" y="-22" font-size="11" fill="currentColor" opacity="0.65">ベンチマーク試行 n = 160、ビン幅 10 ms、仮想データ</text>
<text x="0" y="212" font-size="10" fill="currentColor" opacity="0.55">出典: 仮想データ (tools/svg-gen/examples/data.ts, seed 20261102) / n = 160 / ビン幅 10 ms / 生成: tools/svg-gen/examples/fig-chart-hist.ts</text>
<path d="M0 0 L0 170" fill="none" stroke="currentColor" stroke-width="1" opacity="0.45"/>
<path d="M0 170 L420 170" fill="none" stroke="currentColor" stroke-width="1" opacity="0.45"/>
<path d="M-3 170 L0 170" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="170" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">0</text>
<path d="M0 170 L420 170" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 136 L0 136" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="136" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">10</text>
<path d="M0 136 L420 136" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 102 L0 102" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="102" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">20</text>
<path d="M0 102 L420 102" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 68 L0 68" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="68" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">30</text>
<path d="M0 68 L420 68" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 34 L0 34" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="34" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">40</text>
<path d="M0 34 L420 34" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M-3 0 L0 0" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="0" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">50</text>
<path d="M0 0 L420 0" fill="none" stroke="currentColor" stroke-width="1" opacity="0.1"/>
<path d="M0 170 L0 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="0" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">60</text>
<path d="M60 170 L60 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="60" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">80</text>
<path d="M120 170 L120 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="120" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">100</text>
<path d="M180 170 L180 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="180" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">120</text>
<path d="M240 170 L240 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="240" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">140</text>
<path d="M300 170 L300 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="300" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">160</text>
<path d="M360 170 L360 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="360" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">180</text>
<path d="M420 170 L420 173" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="420" y="186" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">200</text>
<text x="210" y="200" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">試行時間 (ms)</text>
<text x="0" y="-8" font-size="10" fill="currentColor" opacity="0.7">件数</text>
<g data-plot="0 0 420 170">
<rect x="0.0" y="163.2" width="30.0" height="6.8" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
<rect x="30.0" y="115.6" width="30.0" height="54.4" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
<rect x="60.0" y="44.2" width="30.0" height="125.8" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
<rect x="90.0" y="34.0" width="30.0" height="136.0" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
<rect x="120.0" y="166.6" width="30.0" height="3.4" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
<rect x="150.0" y="170.0" width="30.0" height="0.0" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
<rect x="180.0" y="170.0" width="30.0" height="0.0" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
<rect x="210.0" y="166.6" width="30.0" height="3.4" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
<rect x="240.0" y="142.8" width="30.0" height="27.2" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
<rect x="270.0" y="132.6" width="30.0" height="37.4" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
<rect x="300.0" y="119.0" width="30.0" height="51.0" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
<rect x="330.0" y="119.0" width="30.0" height="51.0" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
<rect x="360.0" y="136.0" width="30.0" height="34.0" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
<rect x="390.0" y="156.4" width="30.0" height="13.6" fill="#3B82C4" fill-opacity="0.35" stroke="#3B82C4" stroke-width="1"/>
</g>
</svg>
```

箱ひげが隠した二つの峰がはっきり出る。「同じデータでも図の選択で言えることが変わる」——まさにガイドラインのチャート選択フローが存在する理由で、今回一番気持ちのよい再現だった。ビン幅は規約の MUST どおりサブタイトルに書いた。

## 図6: 周期 → ヒートマップ（曜日 × 時刻）

問いは「トラフィックに日次・週次のパターンはあるか」。168 点の時系列を折れ線にするとスパゲッティになるので、曜日 × 時刻のヒートマップにした。色は 1 色相の濃淡（規約の color.sequential）で、currentColor の不透明度で実装した——テーマに追従する単色スケールになる。

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-32.5 -65 753.5 269" width="754" height="269" role="img" aria-label="traffic heatmap: peak on Tue around 14:00, weekends quiet (virtual data)">
<text x="0" y="-40" font-size="15" fill="currentColor">Tue 14 時台のスパイクと週末の谷（仮想データ）</text>
<text x="0" y="-22" font-size="11" fill="currentColor" opacity="0.65">req/s の 1 時間平均、2026-10-W42 の 1 週間、仮想データ</text>
<text x="0" y="192" font-size="10" fill="currentColor" opacity="0.55">出典: 仮想データ (tools/svg-gen/examples/data.ts, seed 20261102) / 集計: 1 時間平均 / 生成: tools/svg-gen/examples/fig-chart-heat.ts</text>
<path d="M0 0 L0 150" fill="none" stroke="currentColor" stroke-width="1" opacity="0.45"/>
<path d="M0 150 L440 150" fill="none" stroke="currentColor" stroke-width="1" opacity="0.45"/>
<path d="M-3 10.714285714285722 L0 10.714285714285722" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="10.714285714285722" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">Mon</text>
<path d="M-3 32.14285714285714 L0 32.14285714285714" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="32.14285714285714" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">Tue</text>
<path d="M-3 53.57142857142857 L0 53.57142857142857" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="53.57142857142857" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">Wed</text>
<path d="M-3 75 L0 75" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="75" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">Thu</text>
<path d="M-3 96.42857142857143 L0 96.42857142857143" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="96.42857142857143" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">Fri</text>
<path d="M-3 117.85714285714286 L0 117.85714285714286" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="117.85714285714286" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">Sat</text>
<path d="M-3 139.28571428571428 L0 139.28571428571428" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="-6" y="139.28571428571428" font-size="10" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.7">Sun</text>
<path d="M0 150 L0 153" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="0" y="166" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">0時</text>
<path d="M110 150 L110 153" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="110" y="166" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">6時</text>
<path d="M220 150 L220 153" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="220" y="166" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">12時</text>
<path d="M330 150 L330 153" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="330" y="166" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">18時</text>
<path d="M440 150 L440 153" fill="none" stroke="currentColor" stroke-width="1" opacity="0.5"/>
<text x="440" y="166" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">24時</text>
<text x="220" y="180" font-size="10" text-anchor="middle" fill="currentColor" opacity="0.7">時刻 (JST)</text>
<g data-plot="0 0 440 150">
<rect x="0.0" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.11" stroke="none"/>
<rect x="18.3" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.13" stroke="none"/>
<rect x="36.7" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.11" stroke="none"/>
<rect x="55.0" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.11" stroke="none"/>
<rect x="73.3" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.14" stroke="none"/>
<rect x="91.7" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.14" stroke="none"/>
<rect x="110.0" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.15" stroke="none"/>
<rect x="128.3" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.21" stroke="none"/>
<rect x="146.7" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.33" stroke="none"/>
<rect x="165.0" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.45" stroke="none"/>
<rect x="183.3" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.41" stroke="none"/>
<rect x="201.7" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.41" stroke="none"/>
<rect x="220.0" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.32" stroke="none"/>
<rect x="238.3" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.51" stroke="none"/>
<rect x="256.7" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.49" stroke="none"/>
<rect x="275.0" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.46" stroke="none"/>
<rect x="293.3" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.42" stroke="none"/>
<rect x="311.7" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.47" stroke="none"/>
<rect x="330.0" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.36" stroke="none"/>
<rect x="348.3" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.25" stroke="none"/>
<rect x="366.7" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.32" stroke="none"/>
<rect x="385.0" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.33" stroke="none"/>
<rect x="403.3" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.16" stroke="none"/>
<rect x="421.7" y="0.0" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.16" stroke="none"/>
<rect x="0.0" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.11" stroke="none"/>
<rect x="18.3" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.13" stroke="none"/>
<rect x="36.7" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.12" stroke="none"/>
<rect x="55.0" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.11" stroke="none"/>
<rect x="73.3" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.10" stroke="none"/>
<rect x="91.7" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.11" stroke="none"/>
<rect x="110.0" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.15" stroke="none"/>
<rect x="128.3" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.26" stroke="none"/>
<rect x="146.7" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.35" stroke="none"/>
<rect x="165.0" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.42" stroke="none"/>
<rect x="183.3" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.41" stroke="none"/>
<rect x="201.7" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.41" stroke="none"/>
<rect x="220.0" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.37" stroke="none"/>
<rect x="238.3" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.46" stroke="none"/>
<rect x="256.7" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.96" stroke="none"/>
<rect x="275.0" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.88" stroke="none"/>
<rect x="293.3" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.95" stroke="none"/>
<rect x="311.7" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.46" stroke="none"/>
<rect x="330.0" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.29" stroke="none"/>
<rect x="348.3" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.33" stroke="none"/>
<rect x="366.7" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.32" stroke="none"/>
<rect x="385.0" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.33" stroke="none"/>
<rect x="403.3" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.18" stroke="none"/>
<rect x="421.7" y="21.4" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.17" stroke="none"/>
<rect x="0.0" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.13" stroke="none"/>
<rect x="18.3" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.12" stroke="none"/>
<rect x="36.7" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.13" stroke="none"/>
<rect x="55.0" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.15" stroke="none"/>
<rect x="73.3" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.12" stroke="none"/>
<rect x="91.7" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.17" stroke="none"/>
<rect x="110.0" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.13" stroke="none"/>
<rect x="128.3" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.19" stroke="none"/>
<rect x="146.7" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.33" stroke="none"/>
<rect x="165.0" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.42" stroke="none"/>
<rect x="183.3" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.42" stroke="none"/>
<rect x="201.7" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.40" stroke="none"/>
<rect x="220.0" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.26" stroke="none"/>
<rect x="238.3" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.48" stroke="none"/>
<rect x="256.7" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.47" stroke="none"/>
<rect x="275.0" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.54" stroke="none"/>
<rect x="293.3" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.47" stroke="none"/>
<rect x="311.7" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.46" stroke="none"/>
<rect x="330.0" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.38" stroke="none"/>
<rect x="348.3" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.28" stroke="none"/>
<rect x="366.7" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.30" stroke="none"/>
<rect x="385.0" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.31" stroke="none"/>
<rect x="403.3" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.16" stroke="none"/>
<rect x="421.7" y="42.9" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.17" stroke="none"/>
<rect x="0.0" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.12" stroke="none"/>
<rect x="18.3" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.12" stroke="none"/>
<rect x="36.7" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.13" stroke="none"/>
<rect x="55.0" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.14" stroke="none"/>
<rect x="73.3" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.11" stroke="none"/>
<rect x="91.7" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.21" stroke="none"/>
<rect x="110.0" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.10" stroke="none"/>
<rect x="128.3" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.25" stroke="none"/>
<rect x="146.7" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.34" stroke="none"/>
<rect x="165.0" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.40" stroke="none"/>
<rect x="183.3" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.42" stroke="none"/>
<rect x="201.7" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.41" stroke="none"/>
<rect x="220.0" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.29" stroke="none"/>
<rect x="238.3" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.49" stroke="none"/>
<rect x="256.7" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.50" stroke="none"/>
<rect x="275.0" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.49" stroke="none"/>
<rect x="293.3" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.48" stroke="none"/>
<rect x="311.7" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.48" stroke="none"/>
<rect x="330.0" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.33" stroke="none"/>
<rect x="348.3" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.30" stroke="none"/>
<rect x="366.7" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.34" stroke="none"/>
<rect x="385.0" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.29" stroke="none"/>
<rect x="403.3" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.18" stroke="none"/>
<rect x="421.7" y="64.3" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.15" stroke="none"/>
<rect x="0.0" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.16" stroke="none"/>
<rect x="18.3" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.18" stroke="none"/>
<rect x="36.7" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.14" stroke="none"/>
<rect x="55.0" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.15" stroke="none"/>
<rect x="73.3" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.08" stroke="none"/>
<rect x="91.7" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.13" stroke="none"/>
<rect x="110.0" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.14" stroke="none"/>
<rect x="128.3" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.22" stroke="none"/>
<rect x="146.7" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.38" stroke="none"/>
<rect x="165.0" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.41" stroke="none"/>
<rect x="183.3" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.37" stroke="none"/>
<rect x="201.7" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.42" stroke="none"/>
<rect x="220.0" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.32" stroke="none"/>
<rect x="238.3" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.48" stroke="none"/>
<rect x="256.7" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.44" stroke="none"/>
<rect x="275.0" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.46" stroke="none"/>
<rect x="293.3" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.49" stroke="none"/>
<rect x="311.7" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.51" stroke="none"/>
<rect x="330.0" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.40" stroke="none"/>
<rect x="348.3" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.34" stroke="none"/>
<rect x="366.7" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.28" stroke="none"/>
<rect x="385.0" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.29" stroke="none"/>
<rect x="403.3" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.19" stroke="none"/>
<rect x="421.7" y="85.7" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.15" stroke="none"/>
<rect x="0.0" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.06" stroke="none"/>
<rect x="18.3" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.08" stroke="none"/>
<rect x="36.7" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.08" stroke="none"/>
<rect x="55.0" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.10" stroke="none"/>
<rect x="73.3" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.07" stroke="none"/>
<rect x="91.7" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.08" stroke="none"/>
<rect x="110.0" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.09" stroke="none"/>
<rect x="128.3" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.10" stroke="none"/>
<rect x="146.7" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.15" stroke="none"/>
<rect x="165.0" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.18" stroke="none"/>
<rect x="183.3" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.16" stroke="none"/>
<rect x="201.7" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.18" stroke="none"/>
<rect x="220.0" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.15" stroke="none"/>
<rect x="238.3" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.22" stroke="none"/>
<rect x="256.7" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.23" stroke="none"/>
<rect x="275.0" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.20" stroke="none"/>
<rect x="293.3" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.23" stroke="none"/>
<rect x="311.7" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.20" stroke="none"/>
<rect x="330.0" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.11" stroke="none"/>
<rect x="348.3" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.18" stroke="none"/>
<rect x="366.7" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.15" stroke="none"/>
<rect x="385.0" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.13" stroke="none"/>
<rect x="403.3" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.10" stroke="none"/>
<rect x="421.7" y="107.1" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.08" stroke="none"/>
<rect x="0.0" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.06" stroke="none"/>
<rect x="18.3" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.12" stroke="none"/>
<rect x="36.7" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.06" stroke="none"/>
<rect x="55.0" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.12" stroke="none"/>
<rect x="73.3" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.06" stroke="none"/>
<rect x="91.7" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.07" stroke="none"/>
<rect x="110.0" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.12" stroke="none"/>
<rect x="128.3" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.14" stroke="none"/>
<rect x="146.7" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.12" stroke="none"/>
<rect x="165.0" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.19" stroke="none"/>
<rect x="183.3" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.15" stroke="none"/>
<rect x="201.7" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.20" stroke="none"/>
<rect x="220.0" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.14" stroke="none"/>
<rect x="238.3" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.20" stroke="none"/>
<rect x="256.7" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.18" stroke="none"/>
<rect x="275.0" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.22" stroke="none"/>
<rect x="293.3" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.23" stroke="none"/>
<rect x="311.7" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.20" stroke="none"/>
<rect x="330.0" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.13" stroke="none"/>
<rect x="348.3" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.19" stroke="none"/>
<rect x="366.7" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.17" stroke="none"/>
<rect x="385.0" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.16" stroke="none"/>
<rect x="403.3" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.13" stroke="none"/>
<rect x="421.7" y="128.6" width="17.7" height="20.8" fill="currentColor" fill-opacity="0.09" stroke="none"/>
</g>
<rect x="360.0" y="-24" width="10.7" height="8" fill="currentColor" fill-opacity="0.06" stroke="none"/>
<rect x="371.7" y="-24" width="10.7" height="8" fill="currentColor" fill-opacity="0.24" stroke="none"/>
<rect x="383.3" y="-24" width="10.7" height="8" fill="currentColor" fill-opacity="0.42" stroke="none"/>
<rect x="395.0" y="-24" width="10.7" height="8" fill="currentColor" fill-opacity="0.60" stroke="none"/>
<rect x="406.7" y="-24" width="10.7" height="8" fill="currentColor" fill-opacity="0.78" stroke="none"/>
<rect x="418.3" y="-24" width="10.7" height="8" fill="currentColor" fill-opacity="0.96" stroke="none"/>
<text x="360" y="-8" font-size="9" fill="currentColor" opacity="0.6">1</text>
<text x="430" y="-8" font-size="9" text-anchor="end" fill="currentColor" opacity="0.6">204</text>
<text x="354" y="-20" font-size="9" text-anchor="end" dominant-baseline="central" fill="currentColor" opacity="0.6">req/s</text>
</svg>
```

火曜 14〜16 時台のインシデント（濃い 3 セル）、昼どきの谷、週末の薄さ、日曜深夜のバッチが読み取れる。凡例は min/max のランプをプロットの外に置いた（最初はラベルがセルに重なり、check.ts に FAIL された）。

## 作ってみて分かったこと

- lint の機械的半分にも新しい失敗があった。check.ts は「テキストが中に収まるべき形状からはみ出す」を検査するのだが、散布図の小さな点（r=1.8 の circle）を「ラベルの容器」と誤認し、回帰線のラベルが点からはみ出ていると FAIL した。「テキストを収めるはずの形状として小さすぎるもの（min(w,h) < 12）は容器に数えない」という修正を入れた。図の種類が増えると lint の仮定もずれる。
- 直接ラベルは「端」ではなく「離れている場所」に置く。ECDF は 2 系列とも右端が累積割合 1.0 に収まるので、端のラベルは重なる。p80 付近のように曲線が離れている位置を選んで置いた。
- 推定した線は実測と同じ記法にしない。回帰線を実線で引くと「計測された系列」に見える。破線・色・ラベルの三重で「モデル」を区別した。誤差棒や信頼区間も同じ問題を抱えそう。
- 箱ひげは本当に多峰性を隠す。規約どおりに作った二峰データで自分が騙された（箱は普通に見える）。「箱ひげで比較 → 怪しい群はヒストグラムか ECDF で確認」が実務の動作になる。
- **ヒートマップの中ではセルが全部「容器」**。凡例ラベルをランプの下に書くと最上段のセルに吸い込まれて FAIL になった。凡例や注記はプロットの外にまとめて置く。
- 必須引数化は効く。title/subtitle/footnote はコンストラクタで必須なので、うっかり書き忘れた図が生成される経路がない。
- 「仮想データ」の明記は毎回書く。条件が揃った図は架空の値でも本物っぽく見えるので、タイトル・サブタイトル・脚注のどれかに必ず入れることにした。
- 色なし系列は 2〜3 本が限界。太さ・破線・透明度の組み合わせで識別できるのは実質 2〜3 系列で、規約の「折れ線 5 本まで」より手前で限界が来る。colorful オプションはこの限界への回答だが、パレットは「ライト・ダーク両方で読める」制約で選びが絞られる（ダーク地に黒系、ライト地に黄色系は使えない）。それでも足りないならスモールマルチプルに逃がすのが正解に見える（未実装）。
- 乱数ストリームは 1 本だけ作る。`gauss(rng(seed))` と別途 `rng(seed)` を立てると同じ乱数列を 2 つの目的で使うことになり、無関係なはずの量に相関が出る。最初うっかりそうしていた。

## chart-gen への示唆

ガイドライン（Claude 版）の付録は、svg-gen を「概念図キット」と「データ図キット」に分ける案を出していた。chart.ts を別ファイルにしてみると、切れ目としては自然だと分かった——概念図側は「同じ座標を二度書かない」ためのアンカー計算が中心で、データ図側は「値から長さ・位置を計算する」ためのスケールが中心で、依存方向も chart.ts → svg.ts の一方向だ。

残っている大きい穴は、誤差棒（推定値の比較では必須級）、スモールマルチプル、バイオリン図あたり。箱ひげ・ヒストグラム・ヒートマップは今回入った。それと「図にするか」「どの抽象レベルか」の判断はツールでは強制できないので、write-slops かガイドライン文書の側に置く、という付録の結論は妥当だった。

## 余談: issue artifacts は「issue を読む」だけでは見えない

今回の作業の起点は「issue #113 に添付された HTML artifacts を見て」だったのだが、最初の依頼は「issue を読んで」と言う形で、添付物は見つけられなかった。issue の本文・コメントには添付への言及が一切なく、`gh issue view` はもちろん REST API の `body`/`comments` にも artifact の記述が出てこない。タイムラインや編集履歴にも痕跡はない。

見えたきっかけは、ブラウザで見えるはずの URL `…/issues/113/artifacts/3` を直接教えてもらったこと。そこから `gh api repos/podhmo/html-sandbox/issues/113/artifacts` という専用エンドポイントの存在に気づいた。一覧・個別取得（`.artifact.body` に HTML 全文）ともにここだけで取れる。

「artifacts を見て」と言えば辿り着けるか、はたぶん辿り着ける——エンドポイント名がそのまま `artifacts` なので、`gh api` に試せば当たる。問題はそもそも存在を知らないことで、「issue を読んで」ではコメントを眺めて終わる。添付物を見てほしい場合は、URL か「artifacts」という単語を明示するのが確実。

## 追記: プロット領域のはみ出しは構造で防ぐ

公開後に気づいたが、ヒストグラムの山（ビン最大 40）と散布図の外れ値（最大 377ms）が、ハードコードした軸上限（30 / 320）を超えてプロット領域を突き抜けていた。viewBox はキャンバス全体から計算されるので、はみ出た要素も「viewBox の内側」——check.ts は拾えない。

対策は 2 段。

- 作図時点で止める: `Plot` の各マーク生成メソッドが、点がドメイン内にあるかを emit 時に検査し、外なら例外で生成自体を止める（`inside()`）。これで導入直後に ECDF のドメインも間違っていたこと（x 範囲が 21.5〜840.8 に対して 40〜800 固定）と、箱ひげのジッターが右端をはみ出すことも炙り出せた。ヒストグラムの ydom は最大ビン数から計算するようにした。
- check.ts で検証できる形状にする: マーク呼び出しを `p.data(() => { ... })` で囲むと、生成要素が `<g data-plot="x0 y0 x1 y1">` という概念的な親領域にまとまる。check.ts はこのグループの中の要素をプロット矩形に対して検査するので、viewBox に収まっているがプロットからはみ出ているものも FAIL になる。軸ラベルや凡例のような「外にいるのが正しい」要素はグループの外に置くので誤検知しない。

「ドメインはデータから決めるか、収まることを assert で表明する」という前の結論を、キット側の構造にまで引き上げた形。ジッターのような描画上のずれ（データではなく見た目のオフセット）は assert ではなくクランプで対応した。

## 検証

`make -C tools/svg-gen` で全 11 図を生成し `check.ts` を通した（0 failure、パレット色は警告対象外）。PNG は rsvg-convert で rasterize し、ライト・ダーク両方の見え方を確認した（ダーク側は currentColor を明色に置き換えたコピー + 暗色背景、および Go 版ブログ `make -C go watch` の /slops/chart-gen 実ページ）。メンバーの raw ルート（`/slops/chart-gen/chart.ts` など）と prev/next チェーン（slops-nav）も確認済み。

ジェネレータと仮想データはバンドルのメンバーにしてある: [fig-chart-ecdf.ts](01-fig-chart-ecdf.ts), [fig-chart-series.ts](02-fig-chart-series.ts), [fig-chart-scatter.ts](03-fig-chart-scatter.ts), [fig-chart-box.ts](04-fig-chart-box.ts), [fig-chart-hist.ts](05-fig-chart-hist.ts), [fig-chart-heat.ts](06-fig-chart-heat.ts), [chart.ts](chart.ts), [data.ts](data.ts)。
