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

新增哑铃图SVG模板,更新README以反映模板数量增加至33种,并添加哑铃图的用途和适用场景说明。

hugohe33be778e33f70
diff --git a/templates/charts/README.md b/templates/charts/README.md
index e69014ad..db49ba6d 100644
--- a/templates/charts/README.md
+++ b/templates/charts/README.md
@@ -1,6 +1,6 @@
# SVG 图表模板库
-本目录包含 **32 种**标准化 SVG 图表模板,按使用频率和功能分类,方便快速查找。
+本目录包含 **33 种**标准化 SVG 图表模板,按使用频率和功能分类,方便快速查找。
## 📋 目录
@@ -25,6 +25,7 @@
| 转化漏斗 | 漏斗图 | `funnel_chart.svg` |
| 项目排期 | 甘特图 | `gantt_chart.svg` |
| 多维评估 | 雷达图 | `radar_chart.svg` |
+| 多维排名对比 | 哑铃图 | `dumbbell_chart.svg` |
| 资金/流量流向 | 桑基图 | `sankey_chart.svg` |
| 战略分析 | SWOT / 波特五力 | `swot_analysis.svg` |
@@ -168,6 +169,16 @@
### 📊 对比类(进阶)
+#### 哑铃图 / 点阵范围图 (dumbbell_chart.svg)
+
+**用途**:同一对象多维度得分对比、多指标评估
+
+**特点**:8-12 个类别 · 3-5 个维度 · 彩色数据点 · 连接线展示范围
+
+**适用场景**:国家/城市排名对比、竞品多维评估、综合指数展示、能力雷达替代方案
+
+---
+
#### 对比条形图 / 蝴蝶图 (butterfly_chart.svg)
**用途**:左右双向数据对比
@@ -474,5 +485,5 @@
---
**维护者**:PPT Master Team
-**最后更新**:2025-12-11
-**模板数量**:32 种图表类型
+**最后更新**:2025-12-12
+**模板数量**:33 种图表类型
diff --git a/templates/charts/dumbbell_chart.svg b/templates/charts/dumbbell_chart.svg
new file mode 100644
index 00000000..a31c3441
--- /dev/null
+++ b/templates/charts/dumbbell_chart.svg
@@ -0,0 +1,196 @@
+<?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
+ Purpose: Multi-dimensional score comparison, index ranking
+ Scenarios: Country rankings, competitor evaluation, composite index display
+ Support: 8-12 categories x 3-5 dimensions
+ -->
+
+ <!-- Background -->
+ <rect width="1280" height="720" fill="#FFFFFF"/>
+
+ <!-- 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">
+ <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">
+ <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"/>
+ <text x="22" y="12" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" fill="#333333">
+ <tspan>Overall Score</tspan>
+ </text>
+
+ <circle cx="138" cy="8" r="6" fill="#E91E8C"/>
+ <text x="152" y="12" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" fill="#333333">
+ <tspan>Innovation</tspan>
+ </text>
+
+ <circle cx="248" cy="8" r="6" fill="#00B8D4"/>
+ <text x="262" y="12" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" fill="#333333">
+ <tspan>Diffusion</tspan>
+ </text>
+
+ <circle cx="348" cy="8" r="6" fill="#FFD600"/>
+ <text x="362" y="12" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" fill="#333333">
+ <tspan>Adaptation</tspan>
+ </text>
+ </g>
+
+ <!-- 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"/>
+
+ <!-- X-axis baseline -->
+ <line x1="200" y1="480" x2="1200" y2="480" stroke="#CCCCCC" 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>
+ <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>
+ <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>
+ <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>
+ <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>
+ <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>
+
+ <!-- Data rows: x = 200 + (value/100) * 900 -->
+
+ <!-- Row 1: US - Overall:78 Innovation:68 Diffusion:75 Adaptation:80 -->
+ <g class="data-row" 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"/>
+ </g>
+
+ <!-- Row 2: Singapore - Overall:72 Innovation:55 Diffusion:68 Adaptation:75 -->
+ <g class="data-row" 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"/>
+ </g>
+
+ <!-- Row 3: UK - Overall:70 Innovation:52 Diffusion:65 Adaptation:78 -->
+ <g class="data-row" 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"/>
+ </g>
+
+ <!-- Row 4: Switzerland - Overall:68 Innovation:50 Diffusion:62 Adaptation:76 -->
+ <g class="data-row" 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"/>
+ </g>
+
+ <!-- Row 5: Sweden - Overall:65 Innovation:45 Diffusion:58 Adaptation:78 -->
+ <g class="data-row" 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"/>
+ </g>
+
+ <!-- Row 6: South Korea - Overall:62 Innovation:48 Diffusion:55 Adaptation:65 -->
+ <g class="data-row" 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"/>
+ </g>
+
+ <!-- Row 7: Germany - Overall:58 Innovation:42 Diffusion:52 Adaptation:68 -->
+ <g class="data-row" 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"/>
+ </g>
+
+ <!-- Row 8: China - Overall:52 Innovation:38 Diffusion:45 Adaptation:55 -->
+ <g class="data-row" 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"/>
+ </g>
+
+ <!-- Row 9: Brazil - Overall:35 Innovation:18 Diffusion:28 Adaptation:38 -->
+ <g class="data-row" 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"/>
+ </g>
+
+ <!-- Row 10: Argentina - Overall:28 Innovation:12 Diffusion:22 Adaptation:32 -->
+ <g class="data-row" 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"/>
+ </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">
+ <tspan>Source: Capital Economics AI Economic Impact Index</tspan>
+ </text>
+</svg>