Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

docs(charts): add CHART_STYLE_GUIDE and modernize donut, dual-axis, dumbbell templates

hugohe3489eb8faa1db
diff --git a/skills/ppt-master/templates/charts/CHART_STYLE_GUIDE.md b/skills/ppt-master/templates/charts/CHART_STYLE_GUIDE.md
new file mode 100644
index 00000000..1530ddc2
--- /dev/null
+++ b/skills/ppt-master/templates/charts/CHART_STYLE_GUIDE.md
@@ -0,0 +1,379 @@
+# Chart SVG Style Guide
+
+> 本文档定义了 `templates/charts/` 下所有 SVG 图表模板的视觉规范。
+> 新增或修改图表时 **必须** 遵循以下标准,确保全库视觉一致性。
+
+## 0. 上游规范引用
+
+本文档是 **图表模板专用** 的美学与实现规范。所有图表同时必须遵守项目级通用技术约束:
+
+> **[`references/shared-standards.md`](../../references/shared-standards.md)** — SVG 禁用特性黑名单、PPT 兼容性替代、Canvas 格式、tspan 内联规则、分组规范、阴影/叠加技术、后处理管线
+
+以下章节摘录了 shared-standards 中与图表模板最密切相关的条目。完整细节(如 marker 条件约束、clipPath 条件约束、弧线路径计算公式等)请查阅上游文档。
+
+---
+
+## 1. 色彩系统 (Tailwind CSS Palette)
+
+### 1.1 文本颜色
+
+| 用途 | 色值 | Tailwind Token | 示例 |
+|------|------|----------------|------|
+| **主标题** | `#0F172A` | Slate 900 | 图表大标题 |
+| **数值标签** | `#0F172A` | Slate 900 | 柱顶数值、关键指标 |
+| **副标题** | `#64748B` | Slate 500 | 日期、单位说明 |
+| **坐标轴标签** | `#64748B` | Slate 500 | X/Y 轴刻度值 |
+| **轴标题 / 图例** | `#475569` | Slate 600 | "年薪(万元)"、图例文字 |
+| **数据来源** | `#94A3B8` | Slate 400 | 页面底部来源说明 |
+| **脚注 / 淡化提示** | `#CBD5E1` | Slate 300 | "各阶段可灵活调整" |
+
+### 1.2 主题色(数据系列)
+
+| 色名 | 主色 | 深色(渐变终点) | 用途 |
+|------|------|------------------|------|
+| **Blue** | `#3B82F6` | `#2563EB` | 第 1 系列(默认首选) |
+| **Emerald** | `#10B981` | `#059669` | 第 2 系列 |
+| **Amber** | `#F59E0B` | `#D97706` | 第 3 系列 |
+| **Violet** | `#8B5CF6` | `#7C3AED` | 第 4 系列 |
+| **Rose** | `#FB7185` | `#E11D48` | 第 5 系列 / 警告 |
+| **Pink** | `#EC4899` | `#BE185D` | 对比组(如蝴蝶图女性) |
+
+> 径向渐变(如气泡图)使用亮色变体:`#60A5FA`、`#34D399`、`#FBBF24`、`#A78BFA`、`#FB7185`
+
+### 1.3 语义色
+
+| 用途 | 色值 | 说明 |
+|------|------|------|
+| 达标 / 正面 | `#10B981` | Emerald 500 |
+| 警告 / 中性 | `#F59E0B` | Amber 500 |
+| 未达标 / 负面 | `#EF4444` | Red 500 |
+| 异常值标注 | `#F43F5E` | Rose 500 |
+
+### 1.4 UI 辅助色
+
+| 用途 | 色值 | 说明 |
+|------|------|------|
+| **坐标轴线** | `#94A3B8` | Slate 400, stroke-width="2" |
+| **网格线** | `#E2E8F0` 或 `#E0E0E0` | stroke-dasharray="4,4" |
+| **中心分隔线** | `#CBD5E1` | 如象限十字线 |
+| **卡片背景** | `#F8FAFC` / `#F8F9FA` | Slate 50 |
+| **卡片描边** | `#E2E8F0` | Slate 200 |
+| **行分隔线** | `#F1F5F9` | Slate 100(极淡) |
+| **Tint 背景**(蓝) | `#EFF6FF` | Blue 50 |
+| **Tint 背景**(绿) | `#ECFDF5` | Emerald 50 |
+| **Tint 背景**(红) | `#FFF1F2` | Rose 50 |
+| **Tint 背景**(黄) | `#FFFBEB` | Amber 50 |
+
+---
+
+## 2. 排版规范
+
+### 2.1 字体栈
+
+```
+font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
+```
+
+- 纯英文场景可省略 `'PingFang SC', 'Microsoft YaHei'`
+- **禁止** 使用 `@font-face`、外部字体、`<style>` 标签
+
+### 2.2 字号层级
+
+| 层级 | 字号 | font-weight | 用途 |
+|------|------|-------------|------|
+| H1 | `34px` | `bold` (700) | 图表主标题 |
+| H2 | `22px` | `600` | 区域标题(如"详细数据") |
+| Body L | `18-20px` | `600` | 关键数值、百分比 |
+| Body M | `15-16px` | `600` | 数据标签、分类名 |
+| Body S | `14px` | 正常 | 副标题、图例、来源 |
+| Caption | `12-13px` | 正常 | 坐标轴刻度、注释 |
+
+> **最小字号下限:12px**。所有文本不得小于 12px。
+
+### 2.3 tspan 规范
+
+所有 `<text>` 元素的文本内容 **必须** 包裹在 `<tspan>` 中:
+
+```xml
+<!-- 正确 -->
+<text x="60" y="80" font-size="34" fill="#0F172A">
+ <tspan>图表标题</tspan>
+</text>
+
+<!-- 错误 -->
+<text x="60" y="80" font-size="34" fill="#0F172A">图表标题</text>
+```
+
+### 2.4 内联格式化规则(shared-standards SS4)
+
+**单逻辑行 = 单 `<text>`**。同一行内需要多色/多粗细时,用内联 `<tspan>` 实现,**不要**用多个并排 `<text>`:
+
+```xml
+<!-- 正确:一个 text frame,三个 run -->
+<text x="100" y="200" font-size="24" fill="#333333">
+ 实现<tspan fill="#3B82F6" font-weight="bold">10倍</tspan>效率提升
+</text>
+
+<!-- 错误:三个独立 text frame,PPT 中无法作为一行编辑 -->
+<text x="100" y="200">实现</text>
+<text x="160" y="200" fill="#3B82F6">10倍</text>
+<text x="240" y="200">效率提升</text>
+```
+
+> 内联 tspan **不得** 携带 `x` / `y` / `dy`,否则后处理会将其拆分为独立 text frame。`dx` 可用于微调字距。
+
+### 2.5 数据高亮默认行为
+
+图表中的关键数据文本应默认高亮:
+- **数值结果** — 百分比、倍数、金额 → `<tspan fill="主题色" font-weight="bold">`
+- **对比项** — 增/减、达标/未达标 → 语义色(绿/红)
+- **不高亮** — 连接词、普通动词、结构性文字(轴标签、图例、页码)
+
+---
+
+## 3. 阴影滤镜
+
+统一使用 `feFlood` 方案,**禁止** 使用 `feComponentTransfer`:
+
+```xml
+<filter id="chartShadow" x="-15%" y="-15%" width="130%" height="130%">
+ <feGaussianBlur in="SourceAlpha" stdDeviation="2-4"/>
+ <feOffset dx="0" dy="1-3" result="offsetBlur"/>
+ <feFlood flood-color="#0F172A" flood-opacity="0.08-0.15" result="shadowColor"/>
+ <feComposite in="shadowColor" in2="offsetBlur" operator="in" result="shadow"/>
+ <feMerge>
+ <feMergeNode in="shadow"/>
+ <feMergeNode in="SourceGraphic"/>
+ </feMerge>
+</filter>
+```
+
+### 参数参考
+
+| 场景 | stdDeviation | dy | flood-opacity |
+|------|-------------|-----|---------------|
+| 重型元素(箭头、卡片) | 4-6 | 2-4 | 0.12-0.15 |
+| 中型元素(柱子、箱体) | 2-3 | 1-2 | 0.10-0.15 |
+| 轻型元素(底部卡片) | 4-6 | 2-4 | 0.06-0.08 |
+
+### 禁用列表
+
+- `flood-color="#000000"` → 必须用 `#0F172A`
+- `feComponentTransfer` → 用 `feFlood` 替代
+- `flood-opacity > 0.20` → 阴影过重,最大 0.15-0.20
+
+### 阴影使用原则(shared-standards SS6)
+
+> **阴影是美学成分,不是默认处理。** 克制而非丰富才能产生"经过设计"的感觉。 "阴影被感知而非被看见" 是高端美学标准。
+
+**应加阴影**:浮在照片/彩色面板上方的卡片、唯一的主 CTA、叠加层(tooltip、callout)
+
+**不应加阴影**:背景面板/分隔条、网格中平等的同级卡片、已有描边/渐变的容器、正文段落容器、装饰线/图标、深色背景上(黑色阴影不可见)
+
+**每页预算**:最多 2-3 个带阴影元素。第 4 个需要阴影时,先移除现有某个的阴影。
+
+**统一光源**:同页所有 `feOffset` 的 `dx`/`dy` 方向必须一致(默认 `dx=0, dy=正值`,光从上方来)。
+
+**两级高度上限**:
+
+| 层级 | 场景 | dy | stdDeviation | flood-opacity |
+|------|------|----|--------------|---------------|
+| 地面(无阴影) | 背景、同级网格卡片、分隔线、正文容器 | — | — | — |
+| 静止 | 照片/面板上的卡片、次级 callout | 2-4 | 4-8 | 0.06-0.10 |
+| 抬升 | 主 CTA、焦点/推荐卡片、覆盖层 | 6-10 | 10-16 | 0.12-0.20 |
+
+**不要堆叠**:阴影 + 描边 + 圆角 + 渐变填充同时出现 = 模板感。容器的"看我"预算很小,选其一即可。
+
+---
+
+## 4. 渐变规范
+
+### 4.1 线性渐变(柱状/条形图)
+
+```xml
+<linearGradient id="barGrad1" x1="0%" y1="0%" x2="0%" y2="100%">
+ <stop offset="0%" style="stop-color:#3B82F6;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#2563EB;stop-opacity:1" />
+</linearGradient>
+```
+
+- 方向:从亮到深(顶到底 或 左到右)
+- 每个渐变 ID 应语义化:`barGrad1`、`leftGrad`、`actualBarBlue`
+
+### 4.2 径向渐变(气泡图)
+
+```xml
+<radialGradient id="bubbleGrad1" cx="30%" cy="30%">
+ <stop offset="0%" style="stop-color:#60A5FA;stop-opacity:0.9" />
+ <stop offset="100%" style="stop-color:#2563EB;stop-opacity:0.7" />
+</radialGradient>
+```
+
+- 高光偏左上方 (`cx="30%" cy="30%"`)
+- 边缘 opacity 降低至 0.7,制造通透感
+
+---
+
+## 5. 结构规范
+
+### 5.1 层级分组(shared-standards SS4 Grouping)
+
+使用 `<g id="...">` 进行语义分组,便于 PPT 中逐个操作/动画:
+
+```xml
+<g id="chartArea"> <!-- 图表主体 -->
+ <g id="bar-1">...</g> <!-- 每个数据元素独立分组 -->
+ <g id="bar-2">...</g>
+</g>
+<g id="legend"> <!-- 图例区域 -->
+ <g id="legend-high">...</g>
+</g>
+<g id="detailList"> <!-- 详情面板 -->
+ <g id="list-items">
+ <g id="item-1">...</g>
+ </g>
+</g>
+```
+
+**分组单元参考**(来自 shared-standards):
+
+| 分组单元 | 包含内容 |
+|---------|---------|
+| 卡片/面板 | 背景 rect + 阴影(如适用)+ 图标 + 标题 + 正文 |
+| 流程步骤 | 编号圆 + 图标 + 标签 + 描述 |
+| 列表项 | 圆点/编号 + 图标 + 标题 + 描述 |
+| 图标-文字组合 | 图标元素 + 相邻标签 |
+| 页头 | 标题 + 副标题 + 装饰 |
+| 装饰集群 | 相关装饰形状(环、球、点) |
+
+**命名约定**:使用描述性 `id`(如 `card-1`、`step-discover`、`header`、`footer`)。
+
+> 只有 `<g opacity="...">` 被禁止(见 SS2)。纯结构 `<g>` 是必需的。
+
+### 5.2 viewBox
+
+固定为 `0 0 1280 720`(PPT 16:9),不可修改。
+
+### 5.3 背景
+
+首行始终为白色全屏背景:
+```xml
+<rect width="1280" height="720" fill="#FFFFFF"/>
+```
+
+### 5.4 数据来源
+
+位于页面底部,固定格式:
+```xml
+<text x="60" y="695" font-family="..." font-size="14" fill="#94A3B8">
+ <tspan>数据来源: XXX</tspan>
+</text>
+```
+
+---
+
+## 6. SVG 禁用特性与兼容性(shared-standards SS1-2)
+
+### 6.1 绝对禁止
+
+| 禁用特性 | 替代方案 |
+|---------|---------|
+| `<style>` / `class` | 内联属性(`id` 在 `<defs>` 内合法) |
+| `<foreignObject>` | `<text>` + `<tspan>` |
+| `mask` | 叠加遮罩矩形 / gradient overlay |
+| `<symbol>` + `<use>` | 直接写出完整元素 |
+| `textPath` | 手动排列 `<text>` |
+| `@font-face` | 系统字体栈 |
+| `<animate*>` / `<set>` | 无(PPT 侧处理动画) |
+| `<script>` / event 属性 | 无 |
+| `<iframe>` | 无 |
+
+### 6.2 PPT 兼容性替代
+
+| 禁止语法 | 正确替代 |
+|---------|----------|
+| `fill="rgba(255,255,255,0.1)"` | `fill="#FFFFFF" fill-opacity="0.1"` |
+| `<g opacity="0.2">...</g>` | 在每个子元素上单独设置 `fill-opacity` / `stroke-opacity` |
+| `<image opacity="0.3"/>` | 在 image 后叠加 `<rect fill="背景色" opacity="0.7"/>` |
+
+### 6.3 条件允许
+
+| 特性 | 条件 | 转换结果 |
+|------|------|----------|
+| `marker-start` / `marker-end` | `<marker>` 在 `<defs>` 中,`orient="auto"`,形状为三角/菱形/圆 | DrawingML `<a:headEnd>` / `<a:tailEnd>` |
+| `clipPath` on `<image>` | `<clipPath>` 在 `<defs>` 中,单子元素,**仅用于 image** | DrawingML `<a:prstGeom>` / `<a:custGeom>` |
+| `stroke-dasharray` | 使用预设值 `4,4` / `2,2` / `8,4` / `8,4,2,4` | PPTX `<a:prstDash>` |
+| `text-decoration` | `underline` / `line-through` | PPTX 原生文本格式 |
+| `transform="rotate(...)"` | 所有元素类型均支持 | PPTX `<a:xfrm rot="...">` |
+
+> 完整条件约束见 [`shared-standards.md`](../../references/shared-standards.md) SS1.1(marker 约束)和 SS1.2(clipPath 约束)。
+
+### 6.4 虚线预设对照
+
+| SVG 值 | PPTX 预设 | 适用场景 |
+|--------|-----------|---------|
+| `4,4` | Dash | 通用虚线、分隔线 |
+| `2,2` | Dot (sysDot) | 占位轮廓、细边框 |
+| `8,4` | Long dash | 时间线连接、流程箭头 |
+| `8,4,2,4` | Long dash-dot | 技术图纸、尺寸线 |
+
+---
+
+## 7. 旧色映射速查表
+
+在维护旧模板时,使用以下映射快速替换:
+
+| 旧色 (Material/Flat) | → | 新色 (Tailwind) | 角色 |
+|----------------------|---|-----------------|------|
+| `#2C3E50` | → | `#0F172A` | 主文本 |
+| `#7F8C8D` | → | `#64748B` | 副文本 |
+| `#5D6D7E` | → | `#475569` | 图例文本 |
+| `#95A5A6` | → | `#94A3B8` | 数据来源 |
+| `#BDC3C7` | → | `#CBD5E1` | 淡化元素 |
+| `#2196F3` / `#1976D2` | → | `#3B82F6` / `#2563EB` | 蓝色系列 |
+| `#4CAF50` / `#388E3C` | → | `#10B981` / `#059669` | 绿色系列 |
+| `#FF9800` / `#F57C00` | → | `#F59E0B` / `#D97706` | 橙色系列 |
+| `#E91E63` | → | `#F43F5E` | 异常值 |
+| `#000000` (shadow) | → | `#0F172A` | 阴影底色 |
+
+---
+
+## 8. 检查清单
+
+新增或修改图表后,逐项检查:
+
+### 基础校验
+- [ ] `xmllint --noout` 通过
+- [ ] viewBox 为 `0 0 1280 720`
+- [ ] 首行为白色背景 `<rect width="1280" height="720" fill="#FFFFFF"/>`
+
+### 色彩
+- [ ] 无旧色残留(`grep` 验证,见下方命令)
+- [ ] 阴影 `flood-color` 为 `#0F172A`,opacity 小于等于 0.20
+- [ ] 数据来源用 `#94A3B8`
+
+### 排版
+- [ ] 无 `font-size < 12` 的文本
+- [ ] 所有 `<text>` 内容包裹 `<tspan>`
+- [ ] 同一行多格式用内联 `<tspan>`,**非**多个并排 `<text>`
+- [ ] 内联 `<tspan>` 不携带 `x` / `y` / `dy`
+- [ ] 标题 34px、副标题 18px、来源 14px
+
+### 结构
+- [ ] 主要元素有语义化 `<g id="...">`
+- [ ] 无 `<style>`、`class`、`<foreignObject>`、`mask`、`rgba()`
+- [ ] `<g>` 标签无 `opacity` 属性
+
+### 阴影
+- [ ] 使用 `feFlood` 方案(非 `feComponentTransfer`)
+- [ ] 同页阴影 `dx`/`dy` 方向一致
+- [ ] 每页带阴影元素不超过 3 个
+
+### 验证命令
+```bash
+# 一键校验
+f="your_chart.svg"
+xmllint --noout "skills/ppt-master/templates/charts/$f" && echo "XML OK" || echo "XML FAIL"
+echo "Old colors:" && grep -c '#2C3E50\|#7F8C8D\|#95A5A6\|#5D6D7E\|#000000' "skills/ppt-master/templates/charts/$f"
+echo "Small fonts:" && grep -c 'font-size="[0-9]"' "skills/ppt-master/templates/charts/$f"
+```
diff --git a/skills/ppt-master/templates/charts/donut_chart.svg b/skills/ppt-master/templates/charts/donut_chart.svg
index cc45fa69..52fab99e 100644
--- a/skills/ppt-master/templates/charts/donut_chart.svg
+++ b/skills/ppt-master/templates/charts/donut_chart.svg
@@ -22,7 +22,7 @@
<!-- 标题 -->
<text x="60" y="80" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="32" font-weight="bold" fill="#0F172A">
+ font-size="34" font-weight="bold" fill="#0F172A">
<tspan>产品线营收占比</tspan>
</text>
@@ -141,7 +141,7 @@
<line x1="375" y1="240" x2="340" y2="180" stroke="#CBD5E1" stroke-width="1.5"/>
<circle cx="375" cy="240" r="3" fill="#CBD5E1"/>
<text x="330" y="185" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="20" font-weight="600" fill="#CBD5E1" text-anchor="end">
+ font-size="20" font-weight="600" fill="#94A3B8" text-anchor="end">
<tspan>5%</tspan>
</text>
</g>
@@ -150,11 +150,15 @@
<!-- 右侧详细列表 -->
<g id="detailList">
+ <!-- 列表背景卡片 -->
+ <rect x="730" y="195" width="475" height="410" rx="12" fill="#F8FAFC" stroke="#E2E8F0" stroke-width="1"/>
+
<!-- 列表标题 -->
- <text x="750" y="220" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ <text x="750" y="225" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
font-size="22" font-weight="600" fill="#0F172A">
<tspan>详细数据</tspan>
</text>
+ <line x1="750" y1="238" x2="1185" y2="238" stroke="#E2E8F0" stroke-width="1"/>
<g id="list-items">
<g id="item-1">
@@ -172,7 +176,7 @@
font-size="18" fill="#3B82F6" text-anchor="end">
<tspan>35%</tspan>
</text>
-
+ <line x1="750" y1="300" x2="1185" y2="300" stroke="#F1F5F9" stroke-width="1"/>
</g>
<g id="item-2">
<!-- 项目2: 消费电子 -->
@@ -189,7 +193,7 @@
font-size="18" fill="#10B981" text-anchor="end">
<tspan>28%</tspan>
</text>
-
+ <line x1="750" y1="360" x2="1185" y2="360" stroke="#F1F5F9" stroke-width="1"/>
</g>
<g id="item-3">
<!-- 项目3: 云计算 -->
@@ -206,7 +210,7 @@
font-size="18" fill="#F59E0B" text-anchor="end">
<tspan>20%</tspan>
</text>
-
+ <line x1="750" y1="420" x2="1185" y2="420" stroke="#F1F5F9" stroke-width="1"/>
</g>
<g id="item-4">
<!-- 项目4: 物联网 -->
@@ -223,7 +227,7 @@
font-size="18" fill="#8B5CF6" text-anchor="end">
<tspan>12%</tspan>
</text>
-
+ <line x1="750" y1="480" x2="1185" y2="480" stroke="#F1F5F9" stroke-width="1"/>
</g>
<g id="item-5">
<!-- 项目5: 其他 -->
@@ -237,7 +241,7 @@
<tspan>¥0.26亿</tspan>
</text>
<text x="1180" y="510" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="18" fill="#CBD5E1" text-anchor="end">
+ font-size="18" fill="#94A3B8" text-anchor="end">
<tspan>5%</tspan>
</text>
@@ -245,7 +249,7 @@
</g>
<!-- 分隔线 -->
- <line x1="750" y1="550" x2="1180" y2="550" stroke="#E0E0E0" stroke-width="2"/>
+ <line x1="750" y1="550" x2="1185" y2="550" stroke="#E2E8F0" stroke-width="1.5"/>
<!-- 合计 -->
<text x="775" y="580" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
@@ -264,7 +268,7 @@
<!-- 数据来源 -->
<text x="60" y="695" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#CBD5E1">
+ font-size="14" fill="#94A3B8">
<tspan>数据来源: 财务部门季度报告</tspan>
</text>
</svg>
diff --git a/skills/ppt-master/templates/charts/dual_axis_line_chart.svg b/skills/ppt-master/templates/charts/dual_axis_line_chart.svg
index 18b7279f..7834e46f 100644
--- a/skills/ppt-master/templates/charts/dual_axis_line_chart.svg
+++ b/skills/ppt-master/templates/charts/dual_axis_line_chart.svg
@@ -10,14 +10,13 @@
<defs>
<!-- 数据点阴影 -->
- <filter id="dotShadow">
+ <filter id="dotShadow" x="-15%" y="-15%" width="130%" height="130%">
<feGaussianBlur in="SourceAlpha" stdDeviation="2"/>
- <feOffset dx="0" dy="1"/>
- <feComponentTransfer>
- <feFuncA type="linear" slope="0.3"/>
- </feComponentTransfer>
+ <feOffset dx="0" dy="1" result="offsetBlur"/>
+ <feFlood flood-color="#0F172A" flood-opacity="0.15" result="shadowColor"/>
+ <feComposite in="shadowColor" in2="offsetBlur" operator="in" result="shadow"/>
<feMerge>
- <feMergeNode/>
+ <feMergeNode in="shadow"/>
<feMergeNode in="SourceGraphic"/>
</feMerge>
</filter>
@@ -36,16 +35,16 @@
</defs>
<!-- 背景 -->
- <rect width="1280" height="720" fill="#FAFBFC"/>
+ <rect width="1280" height="720" fill="#F8FAFC"/>
<!-- 标题 -->
<text x="60" y="70" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="32" font-weight="bold" fill="#1A252F">
+ font-size="34" font-weight="bold" fill="#0F172A">
<tspan>温湿度测试循环曲线</tspan>
</text>
<text x="60" y="105" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" fill="#7F8C8D">
+ font-size="16" fill="#64748B">
<tspan>环境测试 · 总时长:720分钟(12小时)</tspan>
</text>
@@ -58,22 +57,22 @@
<!-- 阶段文字标注 -->
<text x="219" y="155" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" font-weight="600" fill="#C0392B" text-anchor="middle">
+ font-size="13" font-weight="600" fill="#DC2626" text-anchor="middle">
<tspan>1.升温(60min)</tspan>
</text>
<text x="416.5" y="155" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" font-weight="600" fill="#C0392B" text-anchor="middle">
+ font-size="13" font-weight="600" fill="#DC2626" text-anchor="middle">
<tspan>2.高温保持(240min)</tspan>
</text>
<text x="614" y="155" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" font-weight="600" fill="#2471A3" text-anchor="middle">
+ font-size="13" font-weight="600" fill="#2563EB" text-anchor="middle">
<tspan>3.降温(120min)</tspan>
</text>
<text x="811.5" y="155" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" font-weight="600" fill="#2471A3" text-anchor="middle">
+ font-size="13" font-weight="600" fill="#2563EB" text-anchor="middle">
<tspan>4.低温保持(240min)</tspan>
</text>
@@ -92,18 +91,18 @@
<rect x="930" y="190" width="158" height="390" fill="#6C5CE7" fill-opacity="0.03"/>
<!-- 阶段分隔线 -->
- <line x1="298" y1="190" x2="298" y2="580" stroke="#BDC3C7" stroke-width="1" stroke-dasharray="5,5"/>
- <line x1="535" y1="190" x2="535" y2="580" stroke="#BDC3C7" stroke-width="1" stroke-dasharray="5,5"/>
- <line x1="693" y1="190" x2="693" y2="580" stroke="#BDC3C7" stroke-width="1" stroke-dasharray="5,5"/>
- <line x1="930" y1="190" x2="930" y2="580" stroke="#BDC3C7" stroke-width="1" stroke-dasharray="5,5"/>
+ <line x1="298" y1="190" x2="298" y2="580" stroke="#CBD5E1" stroke-width="1" stroke-dasharray="5,5"/>
+ <line x1="535" y1="190" x2="535" y2="580" stroke="#CBD5E1" stroke-width="1" stroke-dasharray="5,5"/>
+ <line x1="693" y1="190" x2="693" y2="580" stroke="#CBD5E1" stroke-width="1" stroke-dasharray="5,5"/>
+ <line x1="930" y1="190" x2="930" y2="580" stroke="#CBD5E1" stroke-width="1" stroke-dasharray="5,5"/>
<!-- 水平网格线(与刻度精确对齐)-->
- <line x1="140" y1="580" x2="1088" y2="580" stroke="#D5D8DC" stroke-width="1.5"/>
- <line x1="140" y1="502" x2="1088" y2="502" stroke="#EAECEE" stroke-width="1" stroke-dasharray="4,4"/>
- <line x1="140" y1="424" x2="1088" y2="424" stroke="#EAECEE" stroke-width="1" stroke-dasharray="4,4"/>
- <line x1="140" y1="346" x2="1088" y2="346" stroke="#EAECEE" stroke-width="1" stroke-dasharray="4,4"/>
- <line x1="140" y1="268" x2="1088" y2="268" stroke="#EAECEE" stroke-width="1" stroke-dasharray="4,4"/>
- <line x1="140" y1="190" x2="1088" y2="190" stroke="#D5D8DC" stroke-width="1.5"/>
+ <line x1="140" y1="580" x2="1088" y2="580" stroke="#CBD5E1" stroke-width="1.5"/>
+ <line x1="140" y1="502" x2="1088" y2="502" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+ <line x1="140" y1="424" x2="1088" y2="424" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+ <line x1="140" y1="346" x2="1088" y2="346" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+ <line x1="140" y1="268" x2="1088" y2="268" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+ <line x1="140" y1="190" x2="1088" y2="190" stroke="#CBD5E1" stroke-width="1.5"/>
<!-- 左Y轴 - 温度刻度 (°C) -->
<text x="50" y="585" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
@@ -170,39 +169,39 @@
</text>
<!-- 坐标轴 -->
- <line x1="140" y1="190" x2="140" y2="580" stroke="#ABB2B9" stroke-width="2"/>
- <line x1="140" y1="580" x2="1088" y2="580" stroke="#ABB2B9" stroke-width="2"/>
- <line x1="1088" y1="190" x2="1088" y2="580" stroke="#ABB2B9" stroke-width="2"/>
+ <line x1="140" y1="190" x2="140" y2="580" stroke="#94A3B8" stroke-width="2"/>
+ <line x1="140" y1="580" x2="1088" y2="580" stroke="#94A3B8" stroke-width="2"/>
+ <line x1="1088" y1="190" x2="1088" y2="580" stroke="#94A3B8" stroke-width="2"/>
<!-- X轴时间标签 -->
<text x="140" y="610" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#5D6D7E" text-anchor="middle">
+ font-size="13" fill="#475569" text-anchor="middle">
<tspan>0</tspan>
</text>
<text x="298" y="610" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#5D6D7E" text-anchor="middle">
+ font-size="13" fill="#475569" text-anchor="middle">
<tspan>60</tspan>
</text>
<text x="535" y="610" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#5D6D7E" text-anchor="middle">
+ font-size="13" fill="#475569" text-anchor="middle">
<tspan>300</tspan>
</text>
<text x="693" y="610" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#5D6D7E" text-anchor="middle">
+ font-size="13" fill="#475569" text-anchor="middle">
<tspan>420</tspan>
</text>
<text x="930" y="610" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#5D6D7E" text-anchor="middle">
+ font-size="13" fill="#475569" text-anchor="middle">
<tspan>660</tspan>
</text>
<text x="1088" y="610" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#5D6D7E" text-anchor="middle">
+ font-size="13" fill="#475569" text-anchor="middle">
<tspan>720</tspan>
</text>
<!-- X轴标题 -->
<text x="614" y="640" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" font-weight="bold" fill="#5D6D7E" text-anchor="middle">
+ font-size="16" font-weight="bold" fill="#475569" text-anchor="middle">
<tspan>时间 (min)</tspan>
</text>
@@ -243,63 +242,63 @@
<!-- 起始点 - 温度 20℃ -->
<rect x="148" y="354" width="46" height="22" fill="#E17055" rx="4"/>
<text x="171" y="369" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
<tspan>20℃</tspan>
</text>
<!-- 起始点 - 湿度 65% -->
<rect x="148" y="304" width="46" height="22" fill="#0984E3" rx="4"/>
<text x="171" y="319" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
<tspan>65%</tspan>
</text>
<!-- 高温点 - 温度 85℃ -->
<rect x="306" y="184" width="46" height="22" fill="#E17055" rx="4"/>
<text x="329" y="199" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
<tspan>85℃</tspan>
</text>
<!-- 高湿点 - 湿度 85% -->
<rect x="395" y="229" width="46" height="22" fill="#0984E3" rx="4"/>
<text x="418" y="244" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
<tspan>85%</tspan>
</text>
<!-- 低温点 - 温度 -40℃ -->
<rect x="700" y="510" width="52" height="22" fill="#E17055" rx="4"/>
<text x="726" y="525" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
<tspan>-40℃</tspan>
</text>
<!-- 低湿点 - 湿度 30% -->
<rect x="790" y="445" width="46" height="22" fill="#0984E3" rx="4"/>
<text x="813" y="460" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
<tspan>30%</tspan>
</text>
<!-- 复位点 - 温度 20℃ -->
<rect x="1018" y="354" width="46" height="22" fill="#E17055" rx="4"/>
<text x="1041" y="369" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
<tspan>20℃</tspan>
</text>
<!-- 复位点 - 湿度 65% -->
<rect x="1018" y="304" width="46" height="22" fill="#0984E3" rx="4"/>
<text x="1041" y="319" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
<tspan>65%</tspan>
</text>
</g>
<!-- 图例 -->
<g id="legend">
- <rect x="420" y="660" width="440" height="45" fill="#FFFFFF" stroke="#E5E8EB" stroke-width="1.5" rx="10"/>
+ <rect x="420" y="660" width="440" height="45" fill="#FFFFFF" stroke="#E2E8F0" stroke-width="1.5" rx="10"/>
<!-- 温度图例(珊瑚色实线+圆点)-->
<line x1="450" y1="682" x2="490" y2="682" stroke="#E17055" stroke-width="3"/>
diff --git a/skills/ppt-master/templates/charts/dumbbell_chart.svg b/skills/ppt-master/templates/charts/dumbbell_chart.svg
index efc3ff51..79d1f8c7 100644
--- a/skills/ppt-master/templates/charts/dumbbell_chart.svg
+++ b/skills/ppt-master/templates/charts/dumbbell_chart.svg
@@ -1,4 +1,3 @@
-<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="1280" height="720">
<!--
Dumbbell Chart / Dot Plot Template
@@ -12,38 +11,38 @@
<!-- Title -->
<text x="60" y="55" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="28" font-weight="bold" fill="#1A1A1A">
+ font-size="34" font-weight="bold" fill="#0F172A">
<tspan>AI Economic Impact Index Rankings</tspan>
</text>
<text x="60" y="85" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="16" fill="#666666">
+ font-size="16" fill="#64748B">
<tspan>Potential to realize AI benefits by economy - 2025 Report</tspan>
</text>
<!-- Legend -->
<g id="legend" transform="translate(60, 110)">
- <circle cx="8" cy="8" r="6" fill="#1A1A1A"/>
+ <circle cx="8" cy="8" r="6" fill="#0F172A"/>
<text x="22" y="12" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#333333">
+ font-size="13" fill="#475569">
<tspan>Overall Score</tspan>
</text>
- <circle cx="138" cy="8" r="6" fill="#E91E8C"/>
+ <circle cx="138" cy="8" r="6" fill="#EC4899"/>
<text x="152" y="12" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#333333">
+ font-size="13" fill="#475569">
<tspan>Innovation</tspan>
</text>
- <circle cx="248" cy="8" r="6" fill="#00B8D4"/>
+ <circle cx="248" cy="8" r="6" fill="#06B6D4"/>
<text x="262" y="12" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#333333">
+ font-size="13" fill="#475569">
<tspan>Diffusion</tspan>
</text>
- <circle cx="348" cy="8" r="6" fill="#FFD600"/>
+ <circle cx="348" cy="8" r="6" fill="#F59E0B"/>
<text x="362" y="12" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#333333">
+ font-size="13" fill="#475569">
<tspan>Adaptation</tspan>
</text>
</g>
@@ -51,146 +50,146 @@
<!-- Chart Area -->
<g id="chartArea" transform="translate(0, 140)">
<!-- X-axis grid lines -->
- <line x1="200" y1="0" x2="200" y2="480" stroke="#E5E5E5" stroke-width="1"/>
- <line x1="380" y1="0" x2="380" y2="480" stroke="#E5E5E5" stroke-width="1"/>
- <line x1="560" y1="0" x2="560" y2="480" stroke="#E5E5E5" stroke-width="1"/>
- <line x1="740" y1="0" x2="740" y2="480" stroke="#E5E5E5" stroke-width="1"/>
- <line x1="920" y1="0" x2="920" y2="480" stroke="#E5E5E5" stroke-width="1"/>
- <line x1="1100" y1="0" x2="1100" y2="480" stroke="#E5E5E5" stroke-width="1"/>
+ <line x1="200" y1="0" x2="200" y2="480" stroke="#E2E8F0" stroke-width="1"/>
+ <line x1="380" y1="0" x2="380" y2="480" stroke="#E2E8F0" stroke-width="1"/>
+ <line x1="560" y1="0" x2="560" y2="480" stroke="#E2E8F0" stroke-width="1"/>
+ <line x1="740" y1="0" x2="740" y2="480" stroke="#E2E8F0" stroke-width="1"/>
+ <line x1="920" y1="0" x2="920" y2="480" stroke="#E2E8F0" stroke-width="1"/>
+ <line x1="1100" y1="0" x2="1100" y2="480" stroke="#E2E8F0" stroke-width="1"/>
<!-- X-axis baseline -->
- <line x1="200" y1="480" x2="1200" y2="480" stroke="#CCCCCC" stroke-width="1"/>
+ <line x1="200" y1="480" x2="1200" y2="480" stroke="#CBD5E1" stroke-width="1"/>
<!-- X-axis labels -->
<text x="200" y="505" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#999999" text-anchor="middle"><tspan>0</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="middle"><tspan>0</tspan></text>
<text x="380" y="505" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#999999" text-anchor="middle"><tspan>20</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="middle"><tspan>20</tspan></text>
<text x="560" y="505" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#999999" text-anchor="middle"><tspan>40</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="middle"><tspan>40</tspan></text>
<text x="740" y="505" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#999999" text-anchor="middle"><tspan>60</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="middle"><tspan>60</tspan></text>
<text x="920" y="505" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#999999" text-anchor="middle"><tspan>80</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="middle"><tspan>80</tspan></text>
<text x="1100" y="505" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#999999" text-anchor="middle"><tspan>100</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="middle"><tspan>100</tspan></text>
<!-- Data rows: x = 200 + (value/100) * 900 -->
<!-- Row 1: US - Overall:78 Innovation:68 Diffusion:75 Adaptation:80 -->
- <g transform="translate(0, 30)">
+ <g id="row-us" transform="translate(0, 30)">
<text x="190" y="5" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#333333" text-anchor="end"><tspan>US</tspan></text>
- <line x1="812" y1="0" x2="920" y2="0" stroke="#CCCCCC" stroke-width="1.5"/>
- <circle cx="812" cy="0" r="7" fill="#E91E8C"/>
- <circle cx="875" cy="0" r="7" fill="#00B8D4"/>
- <circle cx="920" cy="0" r="7" fill="#FFD600"/>
- <circle cx="902" cy="0" r="7" fill="#1A1A1A"/>
+ font-size="14" fill="#0F172A" text-anchor="end"><tspan>US</tspan></text>
+ <line x1="812" y1="0" x2="920" y2="0" stroke="#CBD5E1" stroke-width="1.5"/>
+ <circle cx="812" cy="0" r="7" fill="#EC4899"/>
+ <circle cx="875" cy="0" r="7" fill="#06B6D4"/>
+ <circle cx="920" cy="0" r="7" fill="#F59E0B"/>
+ <circle cx="902" cy="0" r="7" fill="#0F172A"/>
</g>
<!-- Row 2: Singapore - Overall:72 Innovation:55 Diffusion:68 Adaptation:75 -->
- <g transform="translate(0, 78)">
+ <g id="row-singapore" transform="translate(0, 78)">
<text x="190" y="5" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#333333" text-anchor="end"><tspan>Singapore</tspan></text>
- <line x1="695" y1="0" x2="875" y2="0" stroke="#CCCCCC" stroke-width="1.5"/>
- <circle cx="695" cy="0" r="7" fill="#E91E8C"/>
- <circle cx="812" cy="0" r="7" fill="#00B8D4"/>
- <circle cx="875" cy="0" r="7" fill="#FFD600"/>
- <circle cx="848" cy="0" r="7" fill="#1A1A1A"/>
+ font-size="14" fill="#0F172A" text-anchor="end"><tspan>Singapore</tspan></text>
+ <line x1="695" y1="0" x2="875" y2="0" stroke="#CBD5E1" stroke-width="1.5"/>
+ <circle cx="695" cy="0" r="7" fill="#EC4899"/>
+ <circle cx="812" cy="0" r="7" fill="#06B6D4"/>
+ <circle cx="875" cy="0" r="7" fill="#F59E0B"/>
+ <circle cx="848" cy="0" r="7" fill="#0F172A"/>
</g>
<!-- Row 3: UK - Overall:70 Innovation:52 Diffusion:65 Adaptation:78 -->
- <g transform="translate(0, 126)">
+ <g id="row-uk" transform="translate(0, 126)">
<text x="190" y="5" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#333333" text-anchor="end"><tspan>UK</tspan></text>
- <line x1="668" y1="0" x2="902" y2="0" stroke="#CCCCCC" stroke-width="1.5"/>
- <circle cx="668" cy="0" r="7" fill="#E91E8C"/>
- <circle cx="785" cy="0" r="7" fill="#00B8D4"/>
- <circle cx="902" cy="0" r="7" fill="#FFD600"/>
- <circle cx="830" cy="0" r="7" fill="#1A1A1A"/>
+ font-size="14" fill="#0F172A" text-anchor="end"><tspan>UK</tspan></text>
+ <line x1="668" y1="0" x2="902" y2="0" stroke="#CBD5E1" stroke-width="1.5"/>
+ <circle cx="668" cy="0" r="7" fill="#EC4899"/>
+ <circle cx="785" cy="0" r="7" fill="#06B6D4"/>
+ <circle cx="902" cy="0" r="7" fill="#F59E0B"/>
+ <circle cx="830" cy="0" r="7" fill="#0F172A"/>
</g>
<!-- Row 4: Switzerland - Overall:68 Innovation:50 Diffusion:62 Adaptation:76 -->
- <g transform="translate(0, 174)">
+ <g id="row-switzerland" transform="translate(0, 174)">
<text x="190" y="5" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#333333" text-anchor="end"><tspan>Switzerland</tspan></text>
- <line x1="650" y1="0" x2="884" y2="0" stroke="#CCCCCC" stroke-width="1.5"/>
- <circle cx="650" cy="0" r="7" fill="#E91E8C"/>
- <circle cx="758" cy="0" r="7" fill="#00B8D4"/>
- <circle cx="884" cy="0" r="7" fill="#FFD600"/>
- <circle cx="812" cy="0" r="7" fill="#1A1A1A"/>
+ font-size="14" fill="#0F172A" text-anchor="end"><tspan>Switzerland</tspan></text>
+ <line x1="650" y1="0" x2="884" y2="0" stroke="#CBD5E1" stroke-width="1.5"/>
+ <circle cx="650" cy="0" r="7" fill="#EC4899"/>
+ <circle cx="758" cy="0" r="7" fill="#06B6D4"/>
+ <circle cx="884" cy="0" r="7" fill="#F59E0B"/>
+ <circle cx="812" cy="0" r="7" fill="#0F172A"/>
</g>
<!-- Row 5: Sweden - Overall:65 Innovation:45 Diffusion:58 Adaptation:78 -->
- <g transform="translate(0, 222)">
+ <g id="row-sweden" transform="translate(0, 222)">
<text x="190" y="5" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#333333" text-anchor="end"><tspan>Sweden</tspan></text>
- <line x1="605" y1="0" x2="902" y2="0" stroke="#CCCCCC" stroke-width="1.5"/>
- <circle cx="605" cy="0" r="7" fill="#E91E8C"/>
- <circle cx="722" cy="0" r="7" fill="#00B8D4"/>
- <circle cx="902" cy="0" r="7" fill="#FFD600"/>
- <circle cx="785" cy="0" r="7" fill="#1A1A1A"/>
+ font-size="14" fill="#0F172A" text-anchor="end"><tspan>Sweden</tspan></text>
+ <line x1="605" y1="0" x2="902" y2="0" stroke="#CBD5E1" stroke-width="1.5"/>
+ <circle cx="605" cy="0" r="7" fill="#EC4899"/>
+ <circle cx="722" cy="0" r="7" fill="#06B6D4"/>
+ <circle cx="902" cy="0" r="7" fill="#F59E0B"/>
+ <circle cx="785" cy="0" r="7" fill="#0F172A"/>
</g>
<!-- Row 6: South Korea - Overall:62 Innovation:48 Diffusion:55 Adaptation:65 -->
- <g transform="translate(0, 270)">
+ <g id="row-south-korea" transform="translate(0, 270)">
<text x="190" y="5" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#333333" text-anchor="end"><tspan>South Korea</tspan></text>
- <line x1="632" y1="0" x2="785" y2="0" stroke="#CCCCCC" stroke-width="1.5"/>
- <circle cx="632" cy="0" r="7" fill="#E91E8C"/>
- <circle cx="695" cy="0" r="7" fill="#00B8D4"/>
- <circle cx="785" cy="0" r="7" fill="#FFD600"/>
- <circle cx="758" cy="0" r="7" fill="#1A1A1A"/>
+ font-size="14" fill="#0F172A" text-anchor="end"><tspan>South Korea</tspan></text>
+ <line x1="632" y1="0" x2="785" y2="0" stroke="#CBD5E1" stroke-width="1.5"/>
+ <circle cx="632" cy="0" r="7" fill="#EC4899"/>
+ <circle cx="695" cy="0" r="7" fill="#06B6D4"/>
+ <circle cx="785" cy="0" r="7" fill="#F59E0B"/>
+ <circle cx="758" cy="0" r="7" fill="#0F172A"/>
</g>
<!-- Row 7: Germany - Overall:58 Innovation:42 Diffusion:52 Adaptation:68 -->
- <g transform="translate(0, 318)">
+ <g id="row-germany" transform="translate(0, 318)">
<text x="190" y="5" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#333333" text-anchor="end"><tspan>Germany</tspan></text>
- <line x1="578" y1="0" x2="812" y2="0" stroke="#CCCCCC" stroke-width="1.5"/>
- <circle cx="578" cy="0" r="7" fill="#E91E8C"/>
- <circle cx="668" cy="0" r="7" fill="#00B8D4"/>
- <circle cx="812" cy="0" r="7" fill="#FFD600"/>
- <circle cx="722" cy="0" r="7" fill="#1A1A1A"/>
+ font-size="14" fill="#0F172A" text-anchor="end"><tspan>Germany</tspan></text>
+ <line x1="578" y1="0" x2="812" y2="0" stroke="#CBD5E1" stroke-width="1.5"/>
+ <circle cx="578" cy="0" r="7" fill="#EC4899"/>
+ <circle cx="668" cy="0" r="7" fill="#06B6D4"/>
+ <circle cx="812" cy="0" r="7" fill="#F59E0B"/>
+ <circle cx="722" cy="0" r="7" fill="#0F172A"/>
</g>
<!-- Row 8: China - Overall:52 Innovation:38 Diffusion:45 Adaptation:55 -->
- <g transform="translate(0, 366)">
+ <g id="row-china" transform="translate(0, 366)">
<text x="190" y="5" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#333333" text-anchor="end"><tspan>China</tspan></text>
- <line x1="542" y1="0" x2="695" y2="0" stroke="#CCCCCC" stroke-width="1.5"/>
- <circle cx="542" cy="0" r="7" fill="#E91E8C"/>
- <circle cx="605" cy="0" r="7" fill="#00B8D4"/>
- <circle cx="695" cy="0" r="7" fill="#FFD600"/>
- <circle cx="668" cy="0" r="7" fill="#1A1A1A"/>
+ font-size="14" fill="#0F172A" text-anchor="end"><tspan>China</tspan></text>
+ <line x1="542" y1="0" x2="695" y2="0" stroke="#CBD5E1" stroke-width="1.5"/>
+ <circle cx="542" cy="0" r="7" fill="#EC4899"/>
+ <circle cx="605" cy="0" r="7" fill="#06B6D4"/>
+ <circle cx="695" cy="0" r="7" fill="#F59E0B"/>
+ <circle cx="668" cy="0" r="7" fill="#0F172A"/>
</g>
<!-- Row 9: Brazil - Overall:35 Innovation:18 Diffusion:28 Adaptation:38 -->
- <g transform="translate(0, 414)">
+ <g id="row-brazil" transform="translate(0, 414)">
<text x="190" y="5" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#333333" text-anchor="end"><tspan>Brazil</tspan></text>
- <line x1="362" y1="0" x2="542" y2="0" stroke="#CCCCCC" stroke-width="1.5"/>
- <circle cx="362" cy="0" r="7" fill="#E91E8C"/>
- <circle cx="452" cy="0" r="7" fill="#00B8D4"/>
- <circle cx="542" cy="0" r="7" fill="#FFD600"/>
- <circle cx="515" cy="0" r="7" fill="#1A1A1A"/>
+ font-size="14" fill="#0F172A" text-anchor="end"><tspan>Brazil</tspan></text>
+ <line x1="362" y1="0" x2="542" y2="0" stroke="#CBD5E1" stroke-width="1.5"/>
+ <circle cx="362" cy="0" r="7" fill="#EC4899"/>
+ <circle cx="452" cy="0" r="7" fill="#06B6D4"/>
+ <circle cx="542" cy="0" r="7" fill="#F59E0B"/>
+ <circle cx="515" cy="0" r="7" fill="#0F172A"/>
</g>
<!-- Row 10: Argentina - Overall:28 Innovation:12 Diffusion:22 Adaptation:32 -->
- <g transform="translate(0, 462)">
+ <g id="row-argentina" transform="translate(0, 462)">
<text x="190" y="5" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#333333" text-anchor="end"><tspan>Argentina</tspan></text>
- <line x1="308" y1="0" x2="488" y2="0" stroke="#CCCCCC" stroke-width="1.5"/>
- <circle cx="308" cy="0" r="7" fill="#E91E8C"/>
- <circle cx="398" cy="0" r="7" fill="#00B8D4"/>
- <circle cx="488" cy="0" r="7" fill="#FFD600"/>
- <circle cx="452" cy="0" r="7" fill="#1A1A1A"/>
+ font-size="14" fill="#0F172A" text-anchor="end"><tspan>Argentina</tspan></text>
+ <line x1="308" y1="0" x2="488" y2="0" stroke="#CBD5E1" stroke-width="1.5"/>
+ <circle cx="308" cy="0" r="7" fill="#EC4899"/>
+ <circle cx="398" cy="0" r="7" fill="#06B6D4"/>
+ <circle cx="488" cy="0" r="7" fill="#F59E0B"/>
+ <circle cx="452" cy="0" r="7" fill="#0F172A"/>
</g>
</g>
<!-- Source -->
<text x="60" y="695" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="12" fill="#999999">
+ font-size="13" fill="#64748B">
<tspan>Source: Capital Economics AI Economic Impact Index</tspan>
</text>
</svg>