| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835 |
- <!DOCTYPE html>
- <!--
- data-viz-report skeleton
- ------------------------
- Copy this file, edit the <!-- PLACEHOLDER --> tokens and the chart
- datasets at the bottom of <script>, then render with Chrome headless:
- "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
- --headless=new --disable-gpu --no-sandbox --hide-scrollbars \
- --virtual-time-budget=15000 \
- --run-all-compositor-stages-before-draw \
- --no-pdf-header-footer \
- --print-to-pdf="out.pdf" "file://$PWD/page.html"
- Component primitives (drop-in, all carried in this file):
- .cover full-bleed gradient hero page
- .section-num + h2.section part eyebrow + title + accent rule
- .lead left-bordered intro paragraph
- .kpis > .kpi.{blue|green|orange|purple} 4-up stat grid
- .timeline > .gen.{g1..g4} generation / phase progression strip
- .chart-card.avoid-break chart wrapper with title + sub
- table.data + .pill.{bad|warn|ok|good|best} reference table + status
- .versus > .vs-card.{apple|nvidia} head-to-head 2-up comparison
- .recommend-grid > .rec-card.{entry|recommend|premium} 3-tier picks
- .insight yellow callout (one-line takeaway)
- .conclusion dark conclusion block
- .takeaway numbered finding row
- .footer-meta reference / version footer
- -->
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8">
- <title><!-- REPORT_TITLE --></title>
- <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.0/dist/chart.umd.min.js"></script>
- <style>
- /* === @page + universal print color fidelity ============================ */
- @page { size: A4 portrait; margin: 14mm 12mm; }
- * { box-sizing: border-box; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
- /* === Tokens (re-skin per subject — see README §7 diversification table) */
- :root {
- --ink: #1d1d1f;
- --ink-2: #424245;
- --ink-3: #6e6e73;
- --ink-4: #86868b;
- --hairline: #e5e5ea;
- --rule: #d2d2d7;
- --surface: #fff;
- --mute: #f5f5f7;
- --accent: <!-- ACCENT_HEX -->; /* e.g. #007AFF */
- --cover-1: <!-- COVER_GRAD_1 -->; /* e.g. #0a1628 */
- --cover-2: <!-- COVER_GRAD_2 -->; /* e.g. #1d3557 */
- --cover-3: <!-- COVER_GRAD_3 -->; /* e.g. #2a5298 */
- }
- html, body {
- margin: 0; padding: 0;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
- "PingFang SC", "Helvetica Neue", Arial, sans-serif;
- color: var(--ink); background: var(--surface);
- font-size: 10.5pt; line-height: 1.55;
- -webkit-font-smoothing: antialiased;
- }
- .content { padding: 14mm 12mm; }
- .page-break { page-break-after: always; }
- .avoid-break { page-break-inside: avoid; }
- /* === Cover (full-bleed gradient hero) ================================== */
- .cover {
- height: 268mm;
- background: linear-gradient(135deg, var(--cover-1) 0%, var(--cover-2) 50%, var(--cover-3) 100%);
- color: #fff; padding: 30mm 18mm; position: relative; overflow: hidden;
- page-break-after: always;
- }
- .cover::before {
- content: ""; position: absolute; top: -100px; right: -100px;
- width: 500px; height: 500px; border-radius: 50%;
- background: radial-gradient(circle, rgba(99,179,237,0.30), transparent 70%);
- }
- .cover::after {
- content: ""; position: absolute; bottom: -150px; left: -150px;
- width: 600px; height: 600px; border-radius: 50%;
- background: radial-gradient(circle, rgba(168,85,247,0.20), transparent 70%);
- }
- .cover-tag {
- display: inline-block; padding: 6px 14px; border: 1px solid rgba(255,255,255,0.4);
- border-radius: 20px; font-size: 10pt; letter-spacing: 2px; opacity: 0.85;
- }
- .cover h1 {
- font-size: 38pt; font-weight: 700; margin: 28px 0 18px; line-height: 1.15;
- letter-spacing: -1px; position: relative; z-index: 2;
- }
- .cover .subtitle {
- font-size: 13pt; opacity: 0.85; max-width: 520px;
- line-height: 1.7; position: relative; z-index: 2;
- }
- .cover-meta {
- position: absolute; bottom: 30mm; left: 18mm; right: 18mm;
- display: flex; justify-content: space-between; align-items: flex-end; z-index: 2;
- }
- .meta-stats { display: flex; gap: 32px; }
- .meta-stat .num { font-size: 28pt; font-weight: 700; line-height: 1; }
- .meta-stat .lbl { font-size: 9pt; opacity: 0.7; margin-top: 4px; letter-spacing: 1px; }
- .cover-info { text-align: right; opacity: 0.7; font-size: 9pt; line-height: 1.8; }
- /* === Section header (eyebrow + H2 + accent rule) ======================= */
- h2.section {
- font-size: 20pt; font-weight: 700; margin: 0 0 4px;
- color: var(--ink); letter-spacing: -0.5px;
- }
- .section-num {
- display: inline-block; font-size: 10pt; font-weight: 600;
- color: var(--accent); letter-spacing: 3px; margin-bottom: 8px;
- }
- .section-line {
- width: 50px; height: 3px; background: var(--accent);
- border-radius: 2px; margin: 12px 0 24px;
- }
- h3 { font-size: 13pt; font-weight: 600; margin: 22px 0 10px; color: var(--ink); letter-spacing: -0.3px; }
- h3 .num { color: var(--ink-4); font-weight: 500; margin-right: 8px; }
- p { margin: 8px 0; }
- .lead {
- font-size: 11pt; color: var(--ink-2); line-height: 1.75;
- border-left: 3px solid var(--accent);
- background: linear-gradient(90deg, rgba(0,122,255,0.04), transparent);
- padding: 14px 16px; border-radius: 4px; margin: 16px 0 22px;
- }
- /* === KPI grid (4-up with 4 color variants) ============================= */
- .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0; }
- .kpi {
- padding: 14px; border-radius: 12px;
- background: linear-gradient(135deg, #f5f5f7, #ebebef);
- border: 1px solid var(--rule);
- }
- .kpi.blue { background: linear-gradient(135deg, #e3f0ff, #d4e6ff); border-color: #b8d4ff; }
- .kpi.green { background: linear-gradient(135deg, #e8f7ee, #d4f0e0); border-color: #b3e0c2; }
- .kpi.orange { background: linear-gradient(135deg, #fff0e0, #ffe0c4); border-color: #ffc89b; }
- .kpi.purple { background: linear-gradient(135deg, #f0e8ff, #e2d4ff); border-color: #c9b3ff; }
- .kpi .label { font-size: 8.5pt; color: var(--ink-3); letter-spacing: 0.5px;
- text-transform: uppercase; font-weight: 500; }
- .kpi .value { font-size: 22pt; font-weight: 700; color: var(--ink); line-height: 1.1; margin-top: 4px; }
- .kpi .unit { font-size: 11pt; color: var(--ink-3); margin-left: 2px; font-weight: 500; }
- .kpi .desc { font-size: 8.5pt; color: var(--ink-3); margin-top: 4px; }
- /* === Chart card (every chart MUST be wrapped in .avoid-break) ========== */
- .chart-card {
- background: #fff; border: 1px solid var(--hairline);
- border-radius: 12px; padding: 16px; margin: 18px 0;
- box-shadow: 0 1px 3px rgba(0,0,0,0.04);
- }
- .chart-title {
- font-size: 11pt; font-weight: 600; color: var(--ink);
- margin: 0 0 4px; display: flex; align-items: center; gap: 8px;
- }
- .chart-title::before {
- content: ""; width: 4px; height: 14px; background: var(--accent); border-radius: 2px;
- }
- .chart-sub { font-size: 9pt; color: var(--ink-4); margin: 0 0 12px; padding-left: 12px; }
- .chart-wrap { position: relative; height: 280px; }
- .chart-wrap.tall { height: 380px; }
- .chart-wrap.short { height: 200px; }
- /* === Reference data table + 5-level pill badges ======================== */
- table.data {
- width: 100%; border-collapse: collapse; font-size: 9pt;
- margin: 12px 0; background: #fff;
- border-radius: 8px; overflow: hidden; border: 1px solid var(--hairline);
- }
- table.data thead th {
- background: linear-gradient(180deg, #f5f5f7, #ebebef);
- padding: 9px 10px; text-align: left;
- font-weight: 600; color: var(--ink);
- border-bottom: 1px solid var(--rule);
- font-size: 8.5pt; letter-spacing: 0.3px;
- }
- table.data tbody td { padding: 7px 10px; border-bottom: 1px solid var(--mute); color: var(--ink-2); }
- table.data tbody tr:last-child td { border-bottom: 0; }
- table.data tbody tr:nth-child(even) { background: #fbfbfd; }
- table.data tbody td.bold { font-weight: 600; color: var(--ink); }
- .pill { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 8pt; font-weight: 500; }
- .pill-bad { background: #ffebee; color: #c62828; }
- .pill-warn { background: #fff3e0; color: #e65100; }
- .pill-ok { background: #e8f5e9; color: #2e7d32; }
- .pill-good { background: #e3f2fd; color: #1565c0; }
- .pill-best { background: #f3e5f5; color: #6a1b9a; }
- /* === Versus comparison cards =========================================== */
- .versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px;
- align-items: stretch; margin: 16px 0; }
- .vs-card { padding: 16px; border-radius: 12px; border: 1px solid; }
- .vs-card.apple { background: linear-gradient(160deg, #f5f5f7, #fff); border-color: var(--rule); }
- .vs-card.nvidia { background: linear-gradient(160deg, #f0f9ec, #fff); border-color: #c5e0a5; }
- .vs-divider { display: flex; align-items: center; justify-content: center;
- font-size: 16pt; font-weight: 700; color: var(--ink-4); }
- .vs-card h4 { margin: 0 0 8px; font-size: 13pt; font-weight: 700; }
- .vs-card.apple h4 { color: var(--ink); }
- .vs-card.nvidia h4 { color: #5a8a3a; }
- .vs-card .tag { display: inline-block; font-size: 8pt; padding: 2px 8px;
- border-radius: 10px; background: rgba(0,0,0,0.06); margin-bottom: 6px; }
- .vs-card ul { margin: 8px 0 0; padding-left: 18px; font-size: 9.5pt; line-height: 1.7; }
- /* === Recommend triple (entry / recommended / premium) ================== */
- .recommend-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
- .rec-card { padding: 16px; border-radius: 12px; border: 1px solid; position: relative; }
- .rec-card .level { display: inline-block; padding: 2px 10px; border-radius: 12px;
- font-size: 8pt; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 8px; }
- .rec-card.entry { background: #f0f7ff; border-color: #b8d4ff; }
- .rec-card.entry .level { background: #007AFF; color: #fff; }
- .rec-card.recommend { background: #f0fff4; border-color: #a8d5b8; }
- .rec-card.recommend .level { background: #34a853; color: #fff; }
- .rec-card.premium { background: #fdf4ff; border-color: #d9b8ff; }
- .rec-card.premium .level { background: #9333ea; color: #fff; }
- .rec-card h4 { margin: 0 0 6px; font-size: 11pt; font-weight: 700; color: var(--ink); }
- .rec-card .price{ font-size: 9pt; color: var(--ink-3); margin-bottom: 8px; font-weight: 500; }
- .rec-card .desc { font-size: 9pt; color: var(--ink-2); line-height: 1.6; }
- /* === Insight callout (yellow takeaway) ================================= */
- .insight {
- background: linear-gradient(135deg, #fff8e1, #fff3c4);
- border: 1px solid #ffe082;
- border-radius: 10px; padding: 12px 16px; margin: 16px 0; font-size: 10pt;
- }
- .insight .label {
- display: inline-block; font-weight: 700; color: #b8860b;
- font-size: 9pt; letter-spacing: 1px; margin-right: 8px;
- }
- /* === Dark conclusion blocks + takeaways ================================ */
- .conclusion {
- background: linear-gradient(135deg, #1a1a2e, #16213e);
- color: #fff; padding: 24px; border-radius: 14px; margin: 20px 0;
- }
- .conclusion h3 { color: #fff; margin-top: 0; }
- .conclusion h3 .num { color: #64b5f6; }
- .takeaway {
- display: flex; gap: 8px; margin: 8px 0;
- padding: 10px 12px; border-radius: 8px; background: var(--mute); font-size: 9.5pt;
- }
- .takeaway .icon { font-weight: 700; color: var(--accent); min-width: 18px; }
- /* === Timeline strip (3-5 generation stops) ============================= */
- .timeline { display: flex; gap: 0; margin: 16px 0;
- background: var(--mute); border-radius: 12px; padding: 14px; }
- .gen { flex: 1; text-align: center; padding: 10px 6px; position: relative; }
- .gen + .gen::before {
- content: "→"; position: absolute; left: -6px; top: 14px;
- color: #c7c7cc; font-size: 12pt;
- }
- .gen .tag { display: inline-block; padding: 3px 10px; border-radius: 12px;
- color: #fff; font-size: 8pt; font-weight: 700; }
- .gen.g1 .tag { background: #8e8e93; }
- .gen.g2 .tag { background: #5ac8fa; }
- .gen.g3 .tag { background: #007AFF; }
- .gen.g4 .tag { background: #5e5ce6; }
- .gen .year { font-size: 8.5pt; color: var(--ink-3); margin-top: 4px; }
- .gen .key { font-size: 9pt; font-weight: 600; color: var(--ink); margin-top: 4px; line-height: 1.4; }
- /* === Footer-meta (references) ========================================== */
- .footer-meta {
- border-top: 1px solid var(--hairline); margin-top: 30px; padding-top: 16px;
- font-size: 8.5pt; color: var(--ink-4);
- }
- .footer-meta h4 { color: var(--ink-2); font-size: 10pt; margin: 0 0 8px; }
- .footer-meta ul { margin: 6px 0; padding-left: 18px; line-height: 1.7; }
- /* === Screen-emulation: open in browser → looks like the A4 PDF =========== */
- @media screen {
- html { background: #d0d0d0; }
- body { margin: 0; padding: 20px 0; }
- body > section {
- width: 210mm; min-height: 297mm; margin: 0 auto 20px;
- background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,0.18);
- box-sizing: border-box; overflow: hidden;
- }
- }
- </style>
- </head>
- <body>
- <!-- ============================================================ -->
- <!-- COVER PAGE -->
- <!-- ============================================================ -->
- <section class="cover">
- <span class="cover-tag"><!-- COVER_TAG --></span>
- <h1><!-- REPORT_TITLE --></h1>
- <p class="subtitle"><!-- REPORT_SUBTITLE --></p>
- <div class="cover-meta">
- <div class="meta-stats">
- <div class="meta-stat"><div class="num"><!-- META_STAT_1_NUM --></div><div class="lbl"><!-- META_STAT_1_LABEL --></div></div>
- <div class="meta-stat"><div class="num"><!-- META_STAT_2_NUM --></div><div class="lbl"><!-- META_STAT_2_LABEL --></div></div>
- <div class="meta-stat"><div class="num"><!-- META_STAT_3_NUM --></div><div class="lbl"><!-- META_STAT_3_LABEL --></div></div>
- </div>
- <div class="cover-info">
- <div><!-- DOC_TYPE --></div>
- <div><!-- DOC_VERSION --></div>
- </div>
- </div>
- </section>
- <!-- ============================================================ -->
- <!-- PROLOGUE / INTRO -->
- <!-- ============================================================ -->
- <section class="content page-break">
- <span class="section-num">PROLOGUE · <!-- PROLOGUE_LABEL --></span>
- <h2 class="section"><!-- PROLOGUE_TITLE --></h2>
- <div class="section-line"></div>
- <p class="lead"><!-- PROLOGUE_LEAD --></p>
- <!-- 4-up KPI grid (one per color variant; drop unused) -->
- <div class="kpis">
- <div class="kpi blue">
- <div class="label"><!-- KPI_1_LABEL --></div>
- <div class="value"><!-- KPI_1_VALUE --></div>
- <div class="desc"><!-- KPI_1_DESC --></div>
- </div>
- <div class="kpi green">
- <div class="label"><!-- KPI_2_LABEL --></div>
- <div class="value"><!-- KPI_2_VALUE --></div>
- <div class="desc"><!-- KPI_2_DESC --></div>
- </div>
- <div class="kpi purple">
- <div class="label"><!-- KPI_3_LABEL --></div>
- <div class="value"><!-- KPI_3_VALUE --></div>
- <div class="desc"><!-- KPI_3_DESC --></div>
- </div>
- <div class="kpi orange">
- <div class="label"><!-- KPI_4_LABEL --></div>
- <div class="value"><!-- KPI_4_VALUE --><span class="unit"> <!-- KPI_4_UNIT --></span></div>
- <div class="desc"><!-- KPI_4_DESC --></div>
- </div>
- </div>
- </section>
- <!-- ============================================================ -->
- <!-- PART 01 — first analytical section -->
- <!-- Includes: timeline strip + dual-axis evolution chart -->
- <!-- ============================================================ -->
- <section class="content page-break">
- <span class="section-num">PART 01 · <!-- PART_1_EYEBROW --></span>
- <h2 class="section"><!-- PART_1_TITLE --></h2>
- <div class="section-line"></div>
- <h3><span class="num">1.1</span><!-- SUB_1_1_TITLE --></h3>
- <!-- Timeline strip (3–5 stops) -->
- <div class="timeline">
- <div class="gen g1"><div class="tag"><!-- GEN_1_TAG --></div><div class="year"><!-- GEN_1_YEAR --></div><div class="key"><!-- GEN_1_KEY --></div></div>
- <div class="gen g2"><div class="tag"><!-- GEN_2_TAG --></div><div class="year"><!-- GEN_2_YEAR --></div><div class="key"><!-- GEN_2_KEY --></div></div>
- <div class="gen g3"><div class="tag"><!-- GEN_3_TAG --></div><div class="year"><!-- GEN_3_YEAR --></div><div class="key"><!-- GEN_3_KEY --></div></div>
- <div class="gen g4"><div class="tag"><!-- GEN_4_TAG --></div><div class="year"><!-- GEN_4_YEAR --></div><div class="key"><!-- GEN_4_KEY --></div></div>
- </div>
- <!-- Chart 1 — dual-axis bar+line (evolution / progression) -->
- <div class="chart-card avoid-break">
- <div class="chart-title"><!-- CHART_1_TITLE --></div>
- <div class="chart-sub"><!-- CHART_1_SUB --></div>
- <div class="chart-wrap"><canvas id="chart_1_evolution"></canvas></div>
- </div>
- </section>
- <!-- ============================================================ -->
- <!-- PART 01 cont. — benchmark / KPI page -->
- <!-- Includes: KPI row + horizontal bar + grouped vertical bar -->
- <!-- ============================================================ -->
- <section class="content page-break">
- <h3><span class="num">1.2</span><!-- SUB_1_2_TITLE --></h3>
- <div class="kpis">
- <div class="kpi blue"><div class="label"><!-- BENCH_KPI_1_LABEL --></div><div class="value"><!-- BENCH_KPI_1_VALUE --></div><div class="desc"><!-- BENCH_KPI_1_DESC --></div></div>
- <div class="kpi green"><div class="label"><!-- BENCH_KPI_2_LABEL --></div><div class="value"><!-- BENCH_KPI_2_VALUE --></div><div class="desc"><!-- BENCH_KPI_2_DESC --></div></div>
- <div class="kpi purple"><div class="label"><!-- BENCH_KPI_3_LABEL --></div><div class="value"><!-- BENCH_KPI_3_VALUE --></div><div class="desc"><!-- BENCH_KPI_3_DESC --></div></div>
- <div class="kpi orange"><div class="label"><!-- BENCH_KPI_4_LABEL --></div><div class="value"><!-- BENCH_KPI_4_VALUE --><span class="unit"> <!-- BENCH_KPI_4_UNIT --></span></div><div class="desc"><!-- BENCH_KPI_4_DESC --></div></div>
- </div>
- <!-- Chart 2 — horizontal grouped bar (long category list) -->
- <div class="chart-card avoid-break">
- <div class="chart-title"><!-- CHART_2_TITLE --></div>
- <div class="chart-sub"><!-- CHART_2_SUB --></div>
- <div class="chart-wrap tall"><canvas id="chart_2_horizontal"></canvas></div>
- </div>
- <!-- Chart 3 — grouped vertical bar (cross-tab) -->
- <div class="chart-card avoid-break">
- <div class="chart-title"><!-- CHART_3_TITLE --></div>
- <div class="chart-sub"><!-- CHART_3_SUB --></div>
- <div class="chart-wrap"><canvas id="chart_3_grouped"></canvas></div>
- </div>
- <div class="insight">
- <span class="label">⚡ <!-- INSIGHT_1_LABEL --></span>
- <!-- INSIGHT_1_BODY -->
- </div>
- </section>
- <!-- ============================================================ -->
- <!-- PART 01 cont. — full reference table + scatter matrix -->
- <!-- ============================================================ -->
- <section class="content page-break">
- <h3><span class="num">1.3</span><!-- SUB_1_3_TITLE --></h3>
- <table class="data">
- <thead>
- <tr>
- <th><!-- COL_1 --></th><th><!-- COL_2 --></th><th><!-- COL_3 --></th>
- <th><!-- COL_4 --></th><th><!-- COL_5 --></th><th><!-- COL_6 --></th>
- </tr>
- </thead>
- <tbody>
- <!-- Repeat per row; first cell uses .bold for entity name -->
- <tr><td class="bold"><!-- ROW_1_NAME --></td><td><!-- ROW_1_C2 --></td><td><!-- ROW_1_C3 --></td><td><!-- ROW_1_C4 --></td><td><!-- ROW_1_C5 --></td><td><!-- ROW_1_C6 --></td></tr>
- <tr><td class="bold"><!-- ROW_2_NAME --></td><td><!-- ROW_2_C2 --></td><td><!-- ROW_2_C3 --></td><td><!-- ROW_2_C4 --></td><td><!-- ROW_2_C5 --></td><td><!-- ROW_2_C6 --></td></tr>
- <!-- … duplicate rows as needed … -->
- </tbody>
- </table>
- <!-- Chart 4 — scatter matrix (X = capacity, Y = bandwidth, color = generation) -->
- <div class="chart-card avoid-break">
- <div class="chart-title"><!-- CHART_4_TITLE --></div>
- <div class="chart-sub"><!-- CHART_4_SUB --></div>
- <div class="chart-wrap tall"><canvas id="chart_4_scatter"></canvas></div>
- </div>
- </section>
- <!-- ============================================================ -->
- <!-- PART 02 — feasibility / fit analysis -->
- <!-- Includes: stacked bar + reference table with status pills -->
- <!-- ============================================================ -->
- <section class="content page-break">
- <span class="section-num">PART 02 · <!-- PART_2_EYEBROW --></span>
- <h2 class="section"><!-- PART_2_TITLE --></h2>
- <div class="section-line"></div>
- <p class="lead"><!-- PART_2_LEAD --></p>
- <h3><span class="num">2.1</span><!-- SUB_2_1_TITLE --></h3>
- <div class="kpis">
- <div class="kpi orange"><div class="label"><!-- REQ_KPI_1_LABEL --></div><div class="value"><!-- REQ_KPI_1_VALUE --><span class="unit"> <!-- REQ_KPI_1_UNIT --></span></div><div class="desc"><!-- REQ_KPI_1_DESC --></div></div>
- <div class="kpi blue"><div class="label"><!-- REQ_KPI_2_LABEL --></div><div class="value"><!-- REQ_KPI_2_VALUE --><span class="unit"> <!-- REQ_KPI_2_UNIT --></span></div><div class="desc"><!-- REQ_KPI_2_DESC --></div></div>
- <div class="kpi green"><div class="label"><!-- REQ_KPI_3_LABEL --></div><div class="value"><!-- REQ_KPI_3_VALUE --><span class="unit"> <!-- REQ_KPI_3_UNIT --></span></div><div class="desc"><!-- REQ_KPI_3_DESC --></div></div>
- <div class="kpi purple"><div class="label"><!-- REQ_KPI_4_LABEL --></div><div class="value"><!-- REQ_KPI_4_VALUE --><span class="unit"> <!-- REQ_KPI_4_UNIT --></span></div><div class="desc"><!-- REQ_KPI_4_DESC --></div></div>
- </div>
- <!-- Chart 5 — stacked bar (component A + component B vs total budget) -->
- <div class="chart-card avoid-break">
- <div class="chart-title"><!-- CHART_5_TITLE --></div>
- <div class="chart-sub"><!-- CHART_5_SUB --></div>
- <div class="chart-wrap"><canvas id="chart_5_stacked"></canvas></div>
- </div>
- <h3><span class="num">2.2</span><!-- SUB_2_2_TITLE --></h3>
- <table class="data">
- <thead>
- <tr><th><!-- FIT_COL_1 --></th><th><!-- FIT_COL_2 --></th><th><!-- FIT_COL_3 --></th><th><!-- FIT_COL_4 --></th></tr>
- </thead>
- <tbody>
- <tr><td class="bold"><!-- FIT_R1_NAME --></td><td><!-- FIT_R1_CAPACITY --></td><td><span class="pill pill-bad">❌ <!-- FIT_R1_VERDICT --></span></td><td><!-- FIT_R1_NOTE --></td></tr>
- <tr><td class="bold"><!-- FIT_R2_NAME --></td><td><!-- FIT_R2_CAPACITY --></td><td><span class="pill pill-warn">⚠️ <!-- FIT_R2_VERDICT --></span></td><td><!-- FIT_R2_NOTE --></td></tr>
- <tr><td class="bold"><!-- FIT_R3_NAME --></td><td><!-- FIT_R3_CAPACITY --></td><td><span class="pill pill-ok">✓ <!-- FIT_R3_VERDICT --></span></td><td><!-- FIT_R3_NOTE --></td></tr>
- <tr><td class="bold"><!-- FIT_R4_NAME --></td><td><!-- FIT_R4_CAPACITY --></td><td><span class="pill pill-good">★ <!-- FIT_R4_VERDICT --></span></td><td><!-- FIT_R4_NOTE --></td></tr>
- <tr><td class="bold"><!-- FIT_R5_NAME --></td><td><!-- FIT_R5_CAPACITY --></td><td><span class="pill pill-best">★★ <!-- FIT_R5_VERDICT --></span></td><td><!-- FIT_R5_NOTE --></td></tr>
- </tbody>
- </table>
- </section>
- <!-- ============================================================ -->
- <!-- PART 02 cont. — recommend triple + framework callout -->
- <!-- ============================================================ -->
- <section class="content page-break">
- <h3><span class="num">2.3</span><!-- SUB_2_3_TITLE --></h3>
- <div class="recommend-grid">
- <div class="rec-card entry">
- <span class="level"><!-- REC_ENTRY_LEVEL --></span>
- <h4><!-- REC_ENTRY_TITLE --></h4>
- <div class="price"><!-- REC_ENTRY_PRICE --></div>
- <div class="desc"><!-- REC_ENTRY_DESC --></div>
- </div>
- <div class="rec-card recommend">
- <span class="level">★ <!-- REC_REC_LEVEL --></span>
- <h4><!-- REC_REC_TITLE --></h4>
- <div class="price"><!-- REC_REC_PRICE --></div>
- <div class="desc"><!-- REC_REC_DESC --></div>
- </div>
- <div class="rec-card premium">
- <span class="level"><!-- REC_PREMIUM_LEVEL --></span>
- <h4><!-- REC_PREMIUM_TITLE --></h4>
- <div class="price"><!-- REC_PREMIUM_PRICE --></div>
- <div class="desc"><!-- REC_PREMIUM_DESC --></div>
- </div>
- </div>
- <div class="insight">
- <span class="label">🛠 <!-- INSIGHT_2_LABEL --></span>
- <!-- INSIGHT_2_BODY -->
- </div>
- </section>
- <!-- ============================================================ -->
- <!-- PART 03 — head-to-head versus + radar + log-axis chart -->
- <!-- ============================================================ -->
- <section class="content page-break">
- <span class="section-num">PART 03 · <!-- PART_3_EYEBROW --></span>
- <h2 class="section"><!-- PART_3_TITLE --></h2>
- <div class="section-line"></div>
- <h3><span class="num">3.1</span><!-- SUB_3_1_TITLE --></h3>
- <div class="versus">
- <div class="vs-card apple">
- <span class="tag"><!-- VS_LEFT_TAG --></span>
- <h4><!-- VS_LEFT_TITLE --></h4>
- <ul>
- <li><!-- VS_LEFT_LI_1 --></li>
- <li><!-- VS_LEFT_LI_2 --></li>
- <li><!-- VS_LEFT_LI_3 --></li>
- <li><!-- VS_LEFT_LI_4 --></li>
- </ul>
- </div>
- <div class="vs-divider">VS</div>
- <div class="vs-card nvidia">
- <span class="tag"><!-- VS_RIGHT_TAG --></span>
- <h4><!-- VS_RIGHT_TITLE --></h4>
- <ul>
- <li><!-- VS_RIGHT_LI_1 --></li>
- <li><!-- VS_RIGHT_LI_2 --></li>
- <li><!-- VS_RIGHT_LI_3 --></li>
- <li><!-- VS_RIGHT_LI_4 --></li>
- </ul>
- </div>
- </div>
- <h3><span class="num">3.2</span><!-- SUB_3_2_TITLE --></h3>
- <!-- Chart 6 — logarithmic axis (when values span 2+ decades, e.g. 80 vs 5841) -->
- <div class="chart-card avoid-break">
- <div class="chart-title"><!-- CHART_6_TITLE --></div>
- <div class="chart-sub"><!-- CHART_6_SUB --></div>
- <div class="chart-wrap"><canvas id="chart_6_logaxis"></canvas></div>
- </div>
- <div class="insight">
- <span class="label">📊 <!-- INSIGHT_3_LABEL --></span>
- <!-- INSIGHT_3_BODY -->
- </div>
- <!-- Chart 7 — radar (multi-dimensional positioning, 5–7 axes) -->
- <div class="chart-card avoid-break">
- <div class="chart-title"><!-- CHART_7_TITLE --></div>
- <div class="chart-sub"><!-- CHART_7_SUB --></div>
- <div class="chart-wrap tall"><canvas id="chart_7_radar"></canvas></div>
- </div>
- </section>
- <!-- ============================================================ -->
- <!-- PART 03 cont. — cost / power dual-axis + decision tree -->
- <!-- ============================================================ -->
- <section class="content page-break">
- <h3><span class="num">3.3</span><!-- SUB_3_3_TITLE --></h3>
- <div class="kpis">
- <div class="kpi blue"><div class="label"><!-- COST_KPI_1_LABEL --></div><div class="value"><!-- COST_KPI_1_VALUE --></div><div class="desc"><!-- COST_KPI_1_DESC --></div></div>
- <div class="kpi green"><div class="label"><!-- COST_KPI_2_LABEL --></div><div class="value"><!-- COST_KPI_2_VALUE --></div><div class="desc"><!-- COST_KPI_2_DESC --></div></div>
- <div class="kpi orange"><div class="label"><!-- COST_KPI_3_LABEL --></div><div class="value"><!-- COST_KPI_3_VALUE --><span class="unit"> <!-- COST_KPI_3_UNIT --></span></div><div class="desc"><!-- COST_KPI_3_DESC --></div></div>
- <div class="kpi purple"><div class="label"><!-- COST_KPI_4_LABEL --></div><div class="value"><!-- COST_KPI_4_VALUE --><span class="unit"> <!-- COST_KPI_4_UNIT --></span></div><div class="desc"><!-- COST_KPI_4_DESC --></div></div>
- </div>
- <!-- Chart 8 — dual-axis bars (price + power, two units) -->
- <div class="chart-card avoid-break">
- <div class="chart-title"><!-- CHART_8_TITLE --></div>
- <div class="chart-sub"><!-- CHART_8_SUB --></div>
- <div class="chart-wrap"><canvas id="chart_8_dualaxis"></canvas></div>
- </div>
- <h3><span class="num">3.4</span><!-- SUB_3_4_TITLE --></h3>
- <!-- Decision-tree pair (mirrors versus card; second axis = persona) -->
- <div class="versus">
- <div class="vs-card apple">
- <span class="tag">→ <!-- DT_LEFT_PICK --></span>
- <h4><!-- DT_LEFT_PERSONA --></h4>
- <ul>
- <li><!-- DT_LEFT_LI_1 --></li>
- <li><!-- DT_LEFT_LI_2 --></li>
- <li><!-- DT_LEFT_LI_3 --></li>
- <li><!-- DT_LEFT_LI_4 --></li>
- </ul>
- </div>
- <div class="vs-divider">→</div>
- <div class="vs-card nvidia">
- <span class="tag">→ <!-- DT_RIGHT_PICK --></span>
- <h4><!-- DT_RIGHT_PERSONA --></h4>
- <ul>
- <li><!-- DT_RIGHT_LI_1 --></li>
- <li><!-- DT_RIGHT_LI_2 --></li>
- <li><!-- DT_RIGHT_LI_3 --></li>
- <li><!-- DT_RIGHT_LI_4 --></li>
- </ul>
- </div>
- </div>
- </section>
- <!-- ============================================================ -->
- <!-- EPILOGUE — dark conclusion blocks + takeaway list + footer -->
- <!-- ============================================================ -->
- <section class="content page-break">
- <span class="section-num">EPILOGUE · <!-- EPILOGUE_LABEL --></span>
- <h2 class="section"><!-- EPILOGUE_TITLE --></h2>
- <div class="section-line"></div>
- <div class="conclusion">
- <h3><span class="num">01.</span><!-- CONC_1_TITLE --></h3>
- <p style="opacity: 0.92;"><!-- CONC_1_BODY --></p>
- </div>
- <div class="conclusion">
- <h3><span class="num">02.</span><!-- CONC_2_TITLE --></h3>
- <p style="opacity: 0.92;"><!-- CONC_2_BODY --></p>
- </div>
- <div class="conclusion">
- <h3><span class="num">03.</span><!-- CONC_3_TITLE --></h3>
- <p style="opacity: 0.92;"><!-- CONC_3_BODY --></p>
- </div>
- <h3 style="margin-top: 30px;"><span class="num">📋</span><!-- TAKEAWAY_HEADING --></h3>
- <div class="takeaway"><span class="icon">①</span><span><strong><!-- TAKE_1_HEAD --></strong>:<!-- TAKE_1_BODY --></span></div>
- <div class="takeaway"><span class="icon">②</span><span><strong><!-- TAKE_2_HEAD --></strong>:<!-- TAKE_2_BODY --></span></div>
- <div class="takeaway"><span class="icon">③</span><span><strong><!-- TAKE_3_HEAD --></strong>:<!-- TAKE_3_BODY --></span></div>
- <div class="footer-meta">
- <h4><!-- REFERENCES_HEADING --></h4>
- <ul>
- <li><!-- REF_1 --></li>
- <li><!-- REF_2 --></li>
- <li><!-- REF_3 --></li>
- </ul>
- <p style="margin-top: 12px; text-align: center; opacity: 0.6;">— END OF REPORT —</p>
- </div>
- </section>
- <!-- ============================================================ -->
- <!-- CHART INITIALIZATION -->
- <!-- Order matches the canvas IDs above. Edit labels + datasets -->
- <!-- only; leave the options blocks intact for consistent look. -->
- <!-- ============================================================ -->
- <script>
- Chart.defaults.font.family = '-apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif';
- Chart.defaults.font.size = 10;
- Chart.defaults.color = '#424245';
- Chart.defaults.animation = false; /* CRITICAL: avoid mid-animation snapshot */
- /* === Chart 1 — dual-axis bar+line evolution =========================== */
- new Chart(document.getElementById('chart_1_evolution'), {
- type: 'bar',
- data: {
- labels: [/* GEN_1, GEN_2, GEN_3, GEN_4 */],
- datasets: [
- { type: 'bar', label: '<!-- DS_BAR_LABEL -->', data: [/* … */],
- backgroundColor: 'rgba(0,122,255,0.18)', borderColor: '#007AFF',
- borderWidth: 1.5, yAxisID: 'y1', order: 3, borderRadius: 4 },
- { type: 'line', label: '<!-- DS_LINE_A_LABEL -->', data: [/* … */],
- borderColor: '#34a853', backgroundColor: 'rgba(52,168,83,0.10)',
- borderWidth: 2.5, fill: true, tension: 0.35,
- yAxisID: 'y', order: 1, pointRadius: 5, pointBackgroundColor: '#34a853' },
- { type: 'line', label: '<!-- DS_LINE_B_LABEL -->', data: [/* … */],
- borderColor: '#ff9500', borderWidth: 2.5, fill: false, tension: 0.35,
- yAxisID: 'y2', order: 2, pointRadius: 5, pointBackgroundColor: '#ff9500' }
- ]
- },
- options: {
- responsive: true, maintainAspectRatio: false,
- plugins: { legend: { position: 'top', labels: { boxWidth: 14, padding: 14 } } },
- scales: {
- y: { type: 'linear', position: 'left', title: { display: true, text: '<!-- Y_LEFT_LABEL -->' }, beginAtZero: true },
- y1: { type: 'linear', position: 'right', title: { display: true, text: '<!-- Y_RIGHT_LABEL -->' }, beginAtZero: true, grid: { display: false } },
- y2: { display: false } /* hidden third axis for the second line */
- }
- }
- });
- /* === Chart 2 — horizontal grouped bar (long category list) ============ */
- new Chart(document.getElementById('chart_2_horizontal'), {
- type: 'bar',
- data: {
- labels: [/* 10–20 entity names */],
- datasets: [
- { label: '<!-- DS_2A_LABEL -->', data: [/* … */], backgroundColor: '#5AC8FA', borderRadius: 4 },
- { label: '<!-- DS_2B_LABEL -->', data: [/* … */], backgroundColor: '#007AFF', borderRadius: 4 }
- ]
- },
- options: {
- responsive: true, maintainAspectRatio: false, indexAxis: 'y',
- plugins: { legend: { position: 'top', labels: { boxWidth: 14, padding: 14 } } },
- scales: {
- x: { beginAtZero: true, title: { display: true, text: '<!-- X_LABEL -->' } },
- y: { ticks: { font: { size: 9 } } }
- }
- }
- });
- /* === Chart 3 — grouped vertical bar (cross-tab) ======================= */
- new Chart(document.getElementById('chart_3_grouped'), {
- type: 'bar',
- data: {
- labels: [/* tier names: e.g. Base, Pro, Max, Ultra */],
- datasets: [
- { label: '<!-- DS_3A -->', data: [/* … */], backgroundColor: '#8e8e93', borderRadius: 4 },
- { label: '<!-- DS_3B -->', data: [/* … */], backgroundColor: '#5AC8FA', borderRadius: 4 },
- { label: '<!-- DS_3C -->', data: [/* … */], backgroundColor: '#007AFF', borderRadius: 4 },
- { label: '<!-- DS_3D -->', data: [/* … */], backgroundColor: '#5e5ce6', borderRadius: 4 }
- ]
- },
- options: {
- responsive: true, maintainAspectRatio: false,
- plugins: { legend: { position: 'top', labels: { boxWidth: 14, padding: 14 } } },
- scales: {
- x: { title: { display: true, text: '<!-- X_LABEL -->' } },
- y: { beginAtZero: true, title: { display: true, text: '<!-- Y_LABEL -->' } }
- }
- }
- });
- /* === Chart 4 — scatter matrix (X = capacity, Y = bandwidth) =========== */
- new Chart(document.getElementById('chart_4_scatter'), {
- type: 'scatter',
- data: {
- datasets: [
- { label: '<!-- GROUP_1 -->', backgroundColor: '#8e8e93', pointRadius: 8,
- data: [{ x: 0, y: 0, label: '' } /* … */] },
- { label: '<!-- GROUP_2 -->', backgroundColor: '#5AC8FA', pointRadius: 8,
- data: [{ x: 0, y: 0, label: '' } /* … */] },
- { label: '<!-- GROUP_3 -->', backgroundColor: '#007AFF', pointRadius: 8,
- data: [{ x: 0, y: 0, label: '' } /* … */] },
- { label: '<!-- GROUP_4 -->', backgroundColor: '#5e5ce6', pointRadius: 9,
- data: [{ x: 0, y: 0, label: '' } /* … */] }
- ]
- },
- options: {
- responsive: true, maintainAspectRatio: false,
- plugins: {
- legend: { position: 'top', labels: { boxWidth: 14, padding: 14 } },
- tooltip: { callbacks: { label: (c) => `${c.raw.label}: ${c.parsed.x} · ${c.parsed.y}` } }
- },
- scales: {
- x: { title: { display: true, text: '<!-- X_LABEL -->' }, beginAtZero: true },
- y: { title: { display: true, text: '<!-- Y_LABEL -->' }, beginAtZero: true }
- }
- }
- });
- /* === Chart 5 — stacked bar (component A + component B vs total) ======= */
- new Chart(document.getElementById('chart_5_stacked'), {
- type: 'bar',
- data: {
- labels: [/* mode names: e.g. Full / INT8 / INT4 */],
- datasets: [
- { label: '<!-- DS_5A_LABEL -->', data: [/* … */], backgroundColor: '#007AFF', borderRadius: 4, stack: 'a' },
- { label: '<!-- DS_5B_LABEL -->', data: [/* … */], backgroundColor: '#FF9500', borderRadius: 4, stack: 'a' }
- ]
- },
- options: {
- responsive: true, maintainAspectRatio: false,
- plugins: { legend: { position: 'top', labels: { boxWidth: 14, padding: 14 } }, tooltip: { mode: 'index' } },
- scales: {
- x: { stacked: true, title: { display: true, text: '<!-- X_LABEL -->' } },
- y: { stacked: true, beginAtZero: true, title: { display: true, text: '<!-- Y_LABEL -->' } }
- }
- }
- });
- /* === Chart 6 — logarithmic axis (values spanning 2+ decades) ========== */
- new Chart(document.getElementById('chart_6_logaxis'), {
- type: 'bar',
- data: {
- labels: ['<!-- LEFT_NAME -->', '<!-- RIGHT_NAME -->'],
- datasets: [{ label: '<!-- METRIC -->', data: [/* small, large */],
- backgroundColor: ['#007AFF', '#34a853'], borderRadius: 6 }]
- },
- options: {
- responsive: true, maintainAspectRatio: false, indexAxis: 'y',
- plugins: { legend: { display: false },
- tooltip: { callbacks: { label: (c) => `${c.parsed.x.toLocaleString()}` } } },
- scales: { x: { type: 'logarithmic', title: { display: true, text: '<!-- METRIC --> (log scale)' } } }
- }
- });
- /* === Chart 7 — radar (5–7 axes, 2 entities) =========================== */
- new Chart(document.getElementById('chart_7_radar'), {
- type: 'radar',
- data: {
- labels: [/* 5–7 dimension names */],
- datasets: [
- { label: '<!-- ENTITY_A -->', data: [/* 0–10 each */],
- backgroundColor: 'rgba(0,122,255,0.20)', borderColor: '#007AFF', borderWidth: 2,
- pointBackgroundColor: '#007AFF', pointRadius: 4 },
- { label: '<!-- ENTITY_B -->', data: [/* 0–10 each */],
- backgroundColor: 'rgba(118,185,0,0.20)', borderColor: '#76b900', borderWidth: 2,
- pointBackgroundColor: '#76b900', pointRadius: 4 }
- ]
- },
- options: {
- responsive: true, maintainAspectRatio: false,
- plugins: { legend: { position: 'top', labels: { boxWidth: 14, padding: 14 } } },
- scales: {
- r: { min: 0, max: 10, ticks: { stepSize: 2, backdropColor: 'transparent' },
- pointLabels: { font: { size: 10, weight: '600' } } }
- }
- }
- });
- /* === Chart 8 — dual-axis bar (price + power, two units) =============== */
- new Chart(document.getElementById('chart_8_dualaxis'), {
- type: 'bar',
- data: {
- labels: ['<!-- ENTITY_A -->', '<!-- ENTITY_B -->'],
- datasets: [
- { label: '<!-- METRIC_A_LABEL -->', data: [/* both */], backgroundColor: '#5AC8FA', borderRadius: 4, yAxisID: 'y' },
- { label: '<!-- METRIC_B_LABEL -->', data: [/* both */], backgroundColor: '#FF3B30', borderRadius: 4, yAxisID: 'y1' }
- ]
- },
- options: {
- responsive: true, maintainAspectRatio: false,
- plugins: { legend: { position: 'top', labels: { boxWidth: 14, padding: 14 } } },
- scales: {
- y: { type: 'linear', position: 'left', title: { display: true, text: '<!-- METRIC_A_AXIS -->' }, beginAtZero: true },
- y1: { type: 'linear', position: 'right', title: { display: true, text: '<!-- METRIC_B_AXIS -->' }, beginAtZero: true, grid: { display: false } }
- }
- }
- });
- </script>
- </body>
- </html>
|