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

style(charts): apply modern aesthetics and Tailwind palette to 8 chart templates

hugohe3375ce7f048e8
diff --git a/skills/ppt-master/templates/charts/fishbone_diagram.svg b/skills/ppt-master/templates/charts/fishbone_diagram.svg
index 7032b543..f9e46c46 100644
--- a/skills/ppt-master/templates/charts/fishbone_diagram.svg
+++ b/skills/ppt-master/templates/charts/fishbone_diagram.svg
@@ -1,183 +1,178 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="1280" height="720">
<!--
- 鱼骨因果图模板 (石川图/Ishikawa)
- 用途: 根因分析、问题诊断、因果关系梳理
- 适用场景: 质量管理、故障分析、6M分析法
- 支持: 6分支鱼骨 (推荐4-6分支)
+ Fishbone / Ishikawa Diagram Template
+ Usage: Root cause analysis, problem diagnosis
+ Scenarios: Quality management, fault analysis, 6M methodology
+ Supports: 6 branches (4-6 recommended)
-->
<defs>
- <filter id="cardShadow" x="-15%" y="-15%" width="130%" height="140%">
- <feGaussianBlur in="SourceAlpha" stdDeviation="3"/>
- <feOffset dx="0" dy="2"/>
- <feComponentTransfer><feFuncA type="linear" slope="0.10"/></feComponentTransfer>
- <feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>
+ <filter id="cardShadow" x="-15%" y="-15%" width="130%" height="130%">
+ <feGaussianBlur in="SourceAlpha" stdDeviation="4"/>
+ <feOffset dx="0" dy="2" result="offsetblur"/>
+ <feFlood flood-color="#0F172A" flood-opacity="0.1" result="shadowColor"/>
+ <feComposite in="shadowColor" in2="offsetblur" operator="in" result="shadow"/>
+ <feMerge><feMergeNode in="shadow"/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
<filter id="headGlow" x="-25%" y="-25%" width="150%" height="150%">
<feGaussianBlur in="SourceAlpha" stdDeviation="8"/>
- <feOffset dx="0" dy="4"/>
- <feComponentTransfer><feFuncA type="linear" slope="0.25"/></feComponentTransfer>
- <feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>
+ <feOffset dx="0" dy="4" result="offsetblur"/>
+ <feFlood flood-color="#EF4444" flood-opacity="0.25" result="shadowColor"/>
+ <feComposite in="shadowColor" in2="offsetblur" operator="in" result="shadow"/>
+ <feMerge><feMergeNode in="shadow"/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
- <linearGradient id="spineGrad" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#ABB2B9;stop-opacity:1"/>
- <stop offset="70%" style="stop-color:#5D6D7E;stop-opacity:1"/>
- <stop offset="100%" style="stop-color:#C0392B;stop-opacity:1"/>
- </linearGradient>
<linearGradient id="headGrad" x1="0%" y1="0%" x2="100%" y2="100%">
- <stop offset="0%" style="stop-color:#E74C3C;stop-opacity:1"/>
- <stop offset="100%" style="stop-color:#C0392B;stop-opacity:1"/>
+ <stop offset="0%" style="stop-color:#EF4444;stop-opacity:1"/>
+ <stop offset="100%" style="stop-color:#DC2626;stop-opacity:1"/>
</linearGradient>
</defs>
- <rect width="1280" height="720" fill="#F8F9FA"/>
+ <rect width="1280" height="720" fill="#F8FAFC"/>
- <!-- 标题 -->
+ <!-- Title -->
<text x="640" y="46" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="28" font-weight="700" fill="#1A252F">客户流失根因分析</text>
+ font-size="28" font-weight="700" fill="#0F172A">Root Cause Analysis Framework</text>
<text x="640" y="70" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#95A5A6">Fishbone / Ishikawa · 六大维度系统化诊断</text>
+ font-size="13" fill="#64748B">Fishbone Diagram · Systematic diagnosis across six key dimensions</text>
- <!-- 主脊骨 -->
- <line x1="90" y1="370" x2="1058" y2="370" stroke="#2C3E50" stroke-width="5" stroke-linecap="round"/>
+ <!-- Main Spine: Fixed visibility by using solid stroke instead of gradient -->
+ <line x1="90" y1="370" x2="1058" y2="370" stroke="#64748B" stroke-width="5" stroke-linecap="round"/>
- <!-- 鱼头 -->
+ <!-- Fish Head -->
<polygon points="1048,370 1098,322 1098,418" fill="url(#headGrad)" filter="url(#headGlow)"/>
<rect x="1098" y="322" width="130" height="96" rx="12" fill="url(#headGrad)" filter="url(#headGlow)"/>
<text x="1163" y="362" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="20" font-weight="800" fill="#FFFFFF">客户</text>
+ font-size="20" font-weight="800" fill="#FFFFFF">Core</text>
<text x="1163" y="390" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="20" font-weight="800" fill="#FFFFFF">流失</text>
+ font-size="20" font-weight="800" fill="#FFFFFF">Problem</text>
- <!-- ============ 骨1: 产品 (上左, 接入x=230) ============ -->
- <!-- 主骨干 -->
- <line x1="230" y1="370" x2="130" y2="130" stroke="#6C5CE7" stroke-width="3" stroke-linecap="round"/>
- <!-- 分支标签 -->
- <rect x="68" y="88" width="124" height="40" rx="20" fill="#6C5CE7" filter="url(#cardShadow)"/>
+ <!-- ============ Branch 1: Process (Top-Left, Base=230) ============ -->
+ <line x1="230" y1="370" x2="130" y2="130" stroke="#8B5CF6" stroke-width="3" stroke-linecap="round"/>
+ <rect x="68" y="88" width="124" height="40" rx="20" fill="#8B5CF6" filter="url(#cardShadow)"/>
<text x="130" y="114" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" font-weight="700" fill="#FFFFFF">产品</text>
- <!-- 小鱼刺: 从主骨干上的点水平延伸到左侧标签 -->
- <line x1="210" y1="200" x2="168" y2="200" stroke="#6C5CE7" stroke-width="2" stroke-linecap="round"/>
- <rect x="66" y="188" width="100" height="26" rx="13" fill="#6C5CE7" fill-opacity="0.08" stroke="#6C5CE7" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="116" y="206" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#6C5CE7">Bug 太多</text>
-
- <line x1="198" y1="258" x2="156" y2="258" stroke="#6C5CE7" stroke-width="2" stroke-linecap="round"/>
- <rect x="46" y="246" width="108" height="26" rx="13" fill="#6C5CE7" fill-opacity="0.08" stroke="#6C5CE7" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="100" y="264" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#6C5CE7">功能缺失</text>
-
- <line x1="185" y1="316" x2="143" y2="316" stroke="#6C5CE7" stroke-width="2" stroke-linecap="round"/>
- <rect x="46" y="304" width="95" height="26" rx="13" fill="#6C5CE7" fill-opacity="0.08" stroke="#6C5CE7" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="93" y="322" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#6C5CE7">体验差</text>
-
- <!-- ============ 骨2: 服务 (上中, 接入x=510) ============ -->
- <line x1="510" y1="370" x2="410" y2="130" stroke="#00B894" stroke-width="3" stroke-linecap="round"/>
- <rect x="348" y="88" width="124" height="40" rx="20" fill="#00B894" filter="url(#cardShadow)"/>
+ font-size="15" font-weight="700" fill="#FFFFFF">Process</text>
+
+ <line x1="159" y1="200" x2="153" y2="200" stroke="#8B5CF6" stroke-width="2" stroke-linecap="round"/>
+ <rect x="17" y="188" width="136" height="26" rx="13" fill="#8B5CF6" fill-opacity="0.08" stroke="#8B5CF6" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="85" y="205" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#8B5CF6">Workflow Bottleneck</text>
+
+ <line x1="183" y1="258" x2="177" y2="258" stroke="#8B5CF6" stroke-width="2" stroke-linecap="round"/>
+ <rect x="41" y="246" width="136" height="26" rx="13" fill="#8B5CF6" fill-opacity="0.08" stroke="#8B5CF6" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="109" y="263" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#8B5CF6">Inefficient Steps</text>
+
+ <line x1="207" y1="316" x2="201" y2="316" stroke="#8B5CF6" stroke-width="2" stroke-linecap="round"/>
+ <rect x="65" y="304" width="136" height="26" rx="13" fill="#8B5CF6" fill-opacity="0.08" stroke="#8B5CF6" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="133" y="321" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#8B5CF6">Lack of Standards</text>
+
+ <!-- ============ Branch 2: People (Top-Mid, Base=510) ============ -->
+ <line x1="510" y1="370" x2="410" y2="130" stroke="#10B981" stroke-width="3" stroke-linecap="round"/>
+ <rect x="348" y="88" width="124" height="40" rx="20" fill="#10B981" filter="url(#cardShadow)"/>
<text x="410" y="114" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" font-weight="700" fill="#FFFFFF">服务</text>
-
- <line x1="490" y1="200" x2="448" y2="200" stroke="#00B894" stroke-width="2" stroke-linecap="round"/>
- <rect x="338" y="188" width="108" height="26" rx="13" fill="#00B894" fill-opacity="0.08" stroke="#00B894" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="392" y="206" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#00B894">流程繁琐</text>
-
- <line x1="477" y1="258" x2="435" y2="258" stroke="#00B894" stroke-width="2" stroke-linecap="round"/>
- <rect x="338" y="246" width="95" height="26" rx="13" fill="#00B894" fill-opacity="0.08" stroke="#00B894" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="385" y="264" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#00B894">响应慢</text>
-
- <line x1="465" y1="316" x2="423" y2="316" stroke="#00B894" stroke-width="2" stroke-linecap="round"/>
- <rect x="338" y="304" width="83" height="26" rx="13" fill="#00B894" fill-opacity="0.08" stroke="#00B894" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="379" y="322" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#00B894">态度差</text>
-
- <!-- ============ 骨3: 价格 (上右, 接入x=790) ============ -->
- <line x1="790" y1="370" x2="690" y2="130" stroke="#D4A537" stroke-width="3" stroke-linecap="round"/>
- <rect x="628" y="88" width="124" height="40" rx="20" fill="#D4A537" filter="url(#cardShadow)"/>
+ font-size="15" font-weight="700" fill="#FFFFFF">People</text>
+
+ <line x1="439" y1="200" x2="433" y2="200" stroke="#10B981" stroke-width="2" stroke-linecap="round"/>
+ <rect x="297" y="188" width="136" height="26" rx="13" fill="#10B981" fill-opacity="0.08" stroke="#10B981" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="365" y="205" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#10B981">Skill Deficiency</text>
+
+ <line x1="463" y1="258" x2="457" y2="258" stroke="#10B981" stroke-width="2" stroke-linecap="round"/>
+ <rect x="321" y="246" width="136" height="26" rx="13" fill="#10B981" fill-opacity="0.08" stroke="#10B981" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="389" y="263" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#10B981">Low Engagement</text>
+
+ <line x1="487" y1="316" x2="481" y2="316" stroke="#10B981" stroke-width="2" stroke-linecap="round"/>
+ <rect x="345" y="304" width="136" height="26" rx="13" fill="#10B981" fill-opacity="0.08" stroke="#10B981" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="413" y="321" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#10B981">High Turnover</text>
+
+ <!-- ============ Branch 3: System (Top-Right, Base=790) ============ -->
+ <line x1="790" y1="370" x2="690" y2="130" stroke="#F59E0B" stroke-width="3" stroke-linecap="round"/>
+ <rect x="628" y="88" width="124" height="40" rx="20" fill="#F59E0B" filter="url(#cardShadow)"/>
<text x="690" y="114" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" font-weight="700" fill="#FFFFFF">价格</text>
-
- <line x1="770" y1="200" x2="728" y2="200" stroke="#D4A537" stroke-width="2" stroke-linecap="round"/>
- <rect x="618" y="188" width="108" height="26" rx="13" fill="#D4A537" fill-opacity="0.08" stroke="#D4A537" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="672" y="206" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#D4A537">隐性收费</text>
-
- <line x1="757" y1="258" x2="715" y2="258" stroke="#D4A537" stroke-width="2" stroke-linecap="round"/>
- <rect x="610" y="246" width="103" height="26" rx="13" fill="#D4A537" fill-opacity="0.08" stroke="#D4A537" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="661" y="264" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#D4A537">性价比低</text>
-
- <line x1="745" y1="316" x2="703" y2="316" stroke="#D4A537" stroke-width="2" stroke-linecap="round"/>
- <rect x="602" y="304" width="99" height="26" rx="13" fill="#D4A537" fill-opacity="0.08" stroke="#D4A537" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="651" y="322" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#D4A537">涨价频繁</text>
-
- <!-- ============ 骨4: 竞品 (下左, 接入x=230) ============ -->
- <line x1="230" y1="370" x2="130" y2="610" stroke="#0984E3" stroke-width="3" stroke-linecap="round"/>
- <rect x="68" y="610" width="124" height="40" rx="20" fill="#0984E3" filter="url(#cardShadow)"/>
+ font-size="15" font-weight="700" fill="#FFFFFF">System</text>
+
+ <line x1="719" y1="200" x2="713" y2="200" stroke="#F59E0B" stroke-width="2" stroke-linecap="round"/>
+ <rect x="577" y="188" width="136" height="26" rx="13" fill="#F59E0B" fill-opacity="0.08" stroke="#F59E0B" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="645" y="205" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#F59E0B">Legacy System</text>
+
+ <line x1="743" y1="258" x2="737" y2="258" stroke="#F59E0B" stroke-width="2" stroke-linecap="round"/>
+ <rect x="601" y="246" width="136" height="26" rx="13" fill="#F59E0B" fill-opacity="0.08" stroke="#F59E0B" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="669" y="263" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#F59E0B">System Integration</text>
+
+ <line x1="767" y1="316" x2="761" y2="316" stroke="#F59E0B" stroke-width="2" stroke-linecap="round"/>
+ <rect x="625" y="304" width="136" height="26" rx="13" fill="#F59E0B" fill-opacity="0.08" stroke="#F59E0B" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="693" y="321" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#F59E0B">Data Silos</text>
+
+ <!-- ============ Branch 4: Environment (Bottom-Left, Base=230) ============ -->
+ <line x1="230" y1="370" x2="130" y2="610" stroke="#3B82F6" stroke-width="3" stroke-linecap="round"/>
+ <rect x="68" y="610" width="124" height="40" rx="20" fill="#3B82F6" filter="url(#cardShadow)"/>
<text x="130" y="636" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" font-weight="700" fill="#FFFFFF">竞品</text>
-
- <line x1="210" y1="425" x2="168" y2="425" stroke="#0984E3" stroke-width="2" stroke-linecap="round"/>
- <rect x="38" y="413" width="128" height="26" rx="13" fill="#0984E3" fill-opacity="0.08" stroke="#0984E3" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="102" y="431" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#0984E3">切换成本低</text>
-
- <line x1="198" y1="483" x2="156" y2="483" stroke="#0984E3" stroke-width="2" stroke-linecap="round"/>
- <rect x="30" y="471" width="124" height="26" rx="13" fill="#0984E3" fill-opacity="0.08" stroke="#0984E3" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="92" y="489" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#0984E3">对手创新快</text>
-
- <line x1="185" y1="541" x2="143" y2="541" stroke="#0984E3" stroke-width="2" stroke-linecap="round"/>
- <rect x="50" y="529" width="91" height="26" rx="13" fill="#0984E3" fill-opacity="0.08" stroke="#0984E3" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="95" y="547" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#0984E3">价格战</text>
-
- <!-- ============ 骨5: 运营 (下中, 接入x=510) ============ -->
- <line x1="510" y1="370" x2="410" y2="610" stroke="#E17055" stroke-width="3" stroke-linecap="round"/>
- <rect x="348" y="610" width="124" height="40" rx="20" fill="#E17055" filter="url(#cardShadow)"/>
+ font-size="15" font-weight="700" fill="#FFFFFF">Environment</text>
+
+ <line x1="207" y1="425" x2="201" y2="425" stroke="#3B82F6" stroke-width="2" stroke-linecap="round"/>
+ <rect x="65" y="413" width="136" height="26" rx="13" fill="#3B82F6" fill-opacity="0.08" stroke="#3B82F6" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="133" y="430" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#3B82F6">Market Volatility</text>
+
+ <line x1="183" y1="483" x2="177" y2="483" stroke="#3B82F6" stroke-width="2" stroke-linecap="round"/>
+ <rect x="41" y="471" width="136" height="26" rx="13" fill="#3B82F6" fill-opacity="0.08" stroke="#3B82F6" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="109" y="488" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#3B82F6">Regulatory Changes</text>
+
+ <line x1="159" y1="541" x2="153" y2="541" stroke="#3B82F6" stroke-width="2" stroke-linecap="round"/>
+ <rect x="17" y="529" width="136" height="26" rx="13" fill="#3B82F6" fill-opacity="0.08" stroke="#3B82F6" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="85" y="546" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#3B82F6">Competitor Action</text>
+
+ <!-- ============ Branch 5: Policy (Bottom-Mid, Base=510) ============ -->
+ <line x1="510" y1="370" x2="410" y2="610" stroke="#F97316" stroke-width="3" stroke-linecap="round"/>
+ <rect x="348" y="610" width="124" height="40" rx="20" fill="#F97316" filter="url(#cardShadow)"/>
<text x="410" y="636" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" font-weight="700" fill="#FFFFFF">运营</text>
-
- <line x1="490" y1="425" x2="448" y2="425" stroke="#E17055" stroke-width="2" stroke-linecap="round"/>
- <rect x="338" y="413" width="108" height="26" rx="13" fill="#E17055" fill-opacity="0.08" stroke="#E17055" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="392" y="431" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#E17055">触达不足</text>
-
- <line x1="477" y1="483" x2="435" y2="483" stroke="#E17055" stroke-width="2" stroke-linecap="round"/>
- <rect x="328" y="471" width="105" height="26" rx="13" fill="#E17055" fill-opacity="0.08" stroke="#E17055" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="380" y="489" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#E17055">预警缺失</text>
-
- <line x1="465" y1="541" x2="423" y2="541" stroke="#E17055" stroke-width="2" stroke-linecap="round"/>
- <rect x="308" y="529" width="113" height="26" rx="13" fill="#E17055" fill-opacity="0.08" stroke="#E17055" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="364" y="547" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#E17055">续费引导差</text>
-
- <!-- ============ 骨6: 口碑 (下右, 接入x=790) ============ -->
- <line x1="790" y1="370" x2="690" y2="610" stroke="#A29BFE" stroke-width="3" stroke-linecap="round"/>
- <rect x="628" y="610" width="124" height="40" rx="20" fill="#A29BFE" filter="url(#cardShadow)"/>
+ font-size="15" font-weight="700" fill="#FFFFFF">Policy</text>
+
+ <line x1="487" y1="425" x2="481" y2="425" stroke="#F97316" stroke-width="2" stroke-linecap="round"/>
+ <rect x="345" y="413" width="136" height="26" rx="13" fill="#F97316" fill-opacity="0.08" stroke="#F97316" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="413" y="430" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#F97316">Unclear Guidelines</text>
+
+ <line x1="463" y1="483" x2="457" y2="483" stroke="#F97316" stroke-width="2" stroke-linecap="round"/>
+ <rect x="321" y="471" width="136" height="26" rx="13" fill="#F97316" fill-opacity="0.08" stroke="#F97316" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="389" y="488" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#F97316">Rigid Procedures</text>
+
+ <line x1="439" y1="541" x2="433" y2="541" stroke="#F97316" stroke-width="2" stroke-linecap="round"/>
+ <rect x="297" y="529" width="136" height="26" rx="13" fill="#F97316" fill-opacity="0.08" stroke="#F97316" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="365" y="546" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#F97316">Compliance Risks</text>
+
+ <!-- ============ Branch 6: Material (Bottom-Right, Base=790) ============ -->
+ <line x1="790" y1="370" x2="690" y2="610" stroke="#6366F1" stroke-width="3" stroke-linecap="round"/>
+ <rect x="628" y="610" width="124" height="40" rx="20" fill="#6366F1" filter="url(#cardShadow)"/>
<text x="690" y="636" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" font-weight="700" fill="#FFFFFF">口碑</text>
+ font-size="15" font-weight="700" fill="#FFFFFF">Material</text>
- <line x1="770" y1="425" x2="728" y2="425" stroke="#A29BFE" stroke-width="2" stroke-linecap="round"/>
- <rect x="610" y="413" width="116" height="26" rx="13" fill="#A29BFE" fill-opacity="0.08" stroke="#A29BFE" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="668" y="431" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#A29BFE">社区维护差</text>
+ <line x1="767" y1="425" x2="761" y2="425" stroke="#6366F1" stroke-width="2" stroke-linecap="round"/>
+ <rect x="625" y="413" width="136" height="26" rx="13" fill="#6366F1" fill-opacity="0.08" stroke="#6366F1" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="693" y="430" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#6366F1">Resource Shortage</text>
- <line x1="757" y1="483" x2="715" y2="483" stroke="#A29BFE" stroke-width="2" stroke-linecap="round"/>
- <rect x="602" y="471" width="111" height="26" rx="13" fill="#A29BFE" fill-opacity="0.08" stroke="#A29BFE" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="657" y="489" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#A29BFE">负面评价多</text>
+ <line x1="743" y1="483" x2="737" y2="483" stroke="#6366F1" stroke-width="2" stroke-linecap="round"/>
+ <rect x="601" y="471" width="136" height="26" rx="13" fill="#6366F1" fill-opacity="0.08" stroke="#6366F1" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="669" y="488" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#6366F1">Supply Chain Issues</text>
- <line x1="745" y1="541" x2="703" y2="541" stroke="#A29BFE" stroke-width="2" stroke-linecap="round"/>
- <rect x="596" y="529" width="105" height="26" rx="13" fill="#A29BFE" fill-opacity="0.08" stroke="#A29BFE" stroke-width="1.2" stroke-opacity="0.4"/>
- <text x="648" y="547" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="600" fill="#A29BFE">成功案例少</text>
+ <line x1="719" y1="541" x2="713" y2="541" stroke="#6366F1" stroke-width="2" stroke-linecap="round"/>
+ <rect x="577" y="529" width="136" height="26" rx="13" fill="#6366F1" fill-opacity="0.08" stroke="#6366F1" stroke-width="1.2" stroke-opacity="0.4"/>
+ <text x="645" y="546" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="600" fill="#6366F1">Quality Defects</text>
- <!-- 底部注释 -->
+ <!-- Footer Note -->
<text x="640" y="700" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#BDC3C7">鱼骨图(石川图): 系统化梳理问题的各维度根因</text>
+ font-size="12" fill="#94A3B8">Fishbone Diagram: Systematically trace the root causes across multiple problem dimensions</text>
</svg>
\ No newline at end of file
diff --git a/skills/ppt-master/templates/charts/funnel_chart.svg b/skills/ppt-master/templates/charts/funnel_chart.svg
index a835c30f..830f8952 100644
--- a/skills/ppt-master/templates/charts/funnel_chart.svg
+++ b/skills/ppt-master/templates/charts/funnel_chart.svg
@@ -1,241 +1,223 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="1280" height="720">
<!--
- 漏斗图模板
- 用途: 转化流程分析
- 适用场景: 销售漏斗、用户转化、流程效率
- 支持: 4个阶段 (推荐3-5个)
+ Funnel Chart Template
+ Usage: Conversion flow analysis
+ Scenarios: Sales funnel, user conversion, process efficiency
+ Supports: 4 stages (3-5 recommended)
-->
<defs>
- <!-- 漏斗渐变 -->
+ <!-- Funnel Gradients -->
<linearGradient id="funnelGrad1" x1="0%" y1="0%" x2="0%" y2="100%">
- <stop offset="0%" style="stop-color:#005587;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#003A5C;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#3B82F6;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#2563EB;stop-opacity:1" />
</linearGradient>
<linearGradient id="funnelGrad2" x1="0%" y1="0%" x2="0%" y2="100%">
- <stop offset="0%" style="stop-color:#0076A8;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#005587;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#0EA5E9;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#0284C7;stop-opacity:1" />
</linearGradient>
<linearGradient id="funnelGrad3" x1="0%" y1="0%" x2="0%" y2="100%">
- <stop offset="0%" style="stop-color:#4A90A4;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#3B7A8F;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#14B8A6;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#0D9488;stop-opacity:1" />
</linearGradient>
<linearGradient id="funnelGrad4" x1="0%" y1="0%" x2="0%" y2="100%">
- <stop offset="0%" style="stop-color:#F5A623;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#E89207;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#F97316;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#EA580C;stop-opacity:1" />
</linearGradient>
- <!-- 阴影 -->
- <filter id="funnelShadow">
- <feGaussianBlur in="SourceAlpha" stdDeviation="3"/>
- <feOffset dx="0" dy="2"/>
- <feComponentTransfer>
- <feFuncA type="linear" slope="0.3"/>
- </feComponentTransfer>
- <feMerge>
- <feMergeNode/>
- <feMergeNode in="SourceGraphic"/>
- </feMerge>
+ <!-- Standard Shadow -->
+ <filter id="funnelShadow" x="-15%" y="-15%" width="130%" height="130%">
+ <feGaussianBlur in="SourceAlpha" stdDeviation="4"/>
+ <feOffset dx="0" dy="2" result="offsetblur"/>
+ <feFlood flood-color="#0F172A" flood-opacity="0.1" result="shadowColor"/>
+ <feComposite in="shadowColor" in2="offsetblur" operator="in" result="shadow"/>
+ <feMerge><feMergeNode in="shadow"/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
- <!-- 箭头 -->
+ <!-- Arrow -->
<marker id="arrowLoss" markerWidth="10" markerHeight="10" refX="9" refY="3" orient="auto">
- <path d="M0,0 L0,6 L9,3 z" fill="#E74C3C" />
+ <path d="M0,0 L0,6 L9,3 z" fill="#EF4444" />
</marker>
</defs>
- <!-- 背景 -->
- <rect width="1280" height="720" fill="#FFFFFF"/>
+ <!-- Background -->
+ <rect width="1280" height="720" fill="#F8FAFC"/>
- <!-- 标题 -->
+ <!-- Title -->
<text x="60" y="80" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="32" font-weight="bold" fill="#2C3E50">
- <tspan>销售转化漏斗</tspan>
+ font-size="32" font-weight="700" fill="#0F172A">
+ <tspan>Conversion Funnel Analysis</tspan>
</text>
<text x="60" y="115" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="18" fill="#7F8C8D">
- <tspan>2025年第三季度 · 总线索数 10,000</tspan>
+ font-size="18" fill="#64748B">
+ <tspan>Quarterly Performance · Total Volume: 10,000</tspan>
</text>
- <!-- 漏斗图 -->
+ <!-- Funnel Chart -->
<g id="funnelChart">
- <!--
- 漏斗中心线: x=640
- 阶段间距: 110px
- 阶段高度: 80px
-
- 阶段数据:
- 1. 潜在客户: 10,000 (100%) - 宽度 600px
- 2. 意向客户: 4,500 (45%) - 宽度 450px
- 3. 商务洽谈: 1,800 (18%) - 宽度 320px
- 4. 成交客户: 650 (6.5%) - 宽度 180px
- -->
-
- <!-- 阶段1: 潜在客户 (y: 160-240) -->
+ <!-- Stage 1: Awareness (y: 160-240) -->
<path d="M 340,160 L 940,160 L 895,240 L 385,240 Z"
fill="url(#funnelGrad1)" filter="url(#funnelShadow)"/>
<text x="640" y="205" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="20" font-weight="bold" fill="#FFFFFF" text-anchor="middle">
- <tspan>潜在客户: 10,000</tspan>
+ font-size="20" font-weight="700" fill="#FFFFFF" text-anchor="middle">
+ <tspan>Stage 01: Awareness: 10,000</tspan>
</text>
<text x="640" y="228" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
font-size="16" fill="#FFFFFF" text-anchor="middle" opacity="0.9">
<tspan>100%</tspan>
</text>
- <!-- 阶段2: 意向客户 (y: 270-350) -->
+ <!-- Stage 2: Interest (y: 270-350) -->
<path d="M 385,270 L 895,270 L 850,350 L 430,350 Z"
fill="url(#funnelGrad2)" filter="url(#funnelShadow)"/>
<text x="640" y="315" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="20" font-weight="bold" fill="#FFFFFF" text-anchor="middle">
- <tspan>意向客户: 4,500</tspan>
+ font-size="20" font-weight="700" fill="#FFFFFF" text-anchor="middle">
+ <tspan>Stage 02: Interest: 4,500</tspan>
</text>
<text x="640" y="338" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
font-size="16" fill="#FFFFFF" text-anchor="middle" opacity="0.9">
<tspan>45%</tspan>
</text>
- <!-- 阶段3: 商务洽谈 (y: 380-460) -->
+ <!-- Stage 3: Consideration (y: 380-460) -->
<path d="M 430,380 L 850,380 L 805,460 L 475,460 Z"
fill="url(#funnelGrad3)" filter="url(#funnelShadow)"/>
<text x="640" y="425" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="20" font-weight="bold" fill="#FFFFFF" text-anchor="middle">
- <tspan>商务洽谈: 1,800</tspan>
+ font-size="20" font-weight="700" fill="#FFFFFF" text-anchor="middle">
+ <tspan>Stage 03: Consideration: 1,800</tspan>
</text>
<text x="640" y="448" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
font-size="16" fill="#FFFFFF" text-anchor="middle" opacity="0.9">
<tspan>18%</tspan>
</text>
- <!-- 阶段4: 成交客户 (y: 490-570) -->
+ <!-- Stage 4: Conversion (y: 490-570) -->
<path d="M 475,490 L 805,490 L 760,570 L 520,570 Z"
fill="url(#funnelGrad4)" filter="url(#funnelShadow)"/>
<text x="640" y="535" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="20" font-weight="bold" fill="#2C3E50" text-anchor="middle">
- <tspan>成交客户: 650</tspan>
+ font-size="20" font-weight="700" fill="#FFFFFF" text-anchor="middle">
+ <tspan>Stage 04: Conversion: 650</tspan>
</text>
<text x="640" y="558" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" fill="#2C3E50" text-anchor="middle">
+ font-size="16" fill="#FFFFFF" text-anchor="middle" opacity="0.9">
<tspan>6.5%</tspan>
</text>
</g>
- <!-- 右侧流失标注 -->
+ <!-- Right Annotations (Drop-off) -->
<g id="lossAnnotations">
- <!-- 流失1: 10,000 -> 4,500 (流失5,500, 55%) -->
- <line x1="950" y1="250" x2="1020" y2="250" stroke="#E74C3C" stroke-width="2" marker-end="url(#arrowLoss)"/>
+ <!-- Loss 1: 10,000 -> 4,500 -->
+ <line x1="950" y1="250" x2="1020" y2="250" stroke="#EF4444" stroke-width="2" marker-end="url(#arrowLoss)"/>
<text x="1030" y="245" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="18" font-weight="600" fill="#E74C3C">
- <tspan>流失 5,500</tspan>
+ font-size="18" font-weight="600" fill="#EF4444">
+ <tspan>Drop-off: 5,500</tspan>
</text>
<text x="1030" y="265" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" fill="#7F8C8D">
- <tspan>转化率: 45%</tspan>
+ font-size="15" fill="#64748B">
+ <tspan>Conversion: 45%</tspan>
</text>
- <!-- 流失2: 4,500 -> 1,800 (流失2,700, 40%) -->
- <line x1="905" y1="360" x2="975" y2="360" stroke="#E74C3C" stroke-width="2" marker-end="url(#arrowLoss)"/>
+ <!-- Loss 2: 4,500 -> 1,800 -->
+ <line x1="905" y1="360" x2="975" y2="360" stroke="#EF4444" stroke-width="2" marker-end="url(#arrowLoss)"/>
<text x="985" y="355" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="18" font-weight="600" fill="#E74C3C">
- <tspan>流失 2,700</tspan>
+ font-size="18" font-weight="600" fill="#EF4444">
+ <tspan>Drop-off: 2,700</tspan>
</text>
<text x="985" y="375" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" fill="#7F8C8D">
- <tspan>转化率: 40%</tspan>
+ font-size="15" fill="#64748B">
+ <tspan>Conversion: 40%</tspan>
</text>
- <!-- 流失3: 1,800 -> 650 (流失1,150, 36%) -->
- <line x1="860" y1="470" x2="930" y2="470" stroke="#E74C3C" stroke-width="2" marker-end="url(#arrowLoss)"/>
+ <!-- Loss 3: 1,800 -> 650 -->
+ <line x1="860" y1="470" x2="930" y2="470" stroke="#EF4444" stroke-width="2" marker-end="url(#arrowLoss)"/>
<text x="940" y="465" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="18" font-weight="600" fill="#E74C3C">
- <tspan>流失 1,150</tspan>
+ font-size="18" font-weight="600" fill="#EF4444">
+ <tspan>Drop-off: 1,150</tspan>
</text>
<text x="940" y="485" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" fill="#7F8C8D">
- <tspan>转化率: 36%</tspan>
+ font-size="15" fill="#64748B">
+ <tspan>Conversion: 36%</tspan>
</text>
</g>
- <!-- 左侧关键指标卡片 -->
+ <!-- Left Key Metrics -->
<g id="keyMetrics">
- <!-- 卡片背景 -->
- <rect x="60" y="180" width="220" height="380" rx="8" fill="#F8F9FA" stroke="#E0E0E0" stroke-width="1"/>
+ <rect x="60" y="180" width="220" height="380" rx="8" fill="#FFFFFF" filter="url(#funnelShadow)"/>
<text x="170" y="215" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="18" font-weight="600" fill="#2C3E50" text-anchor="middle">
- <tspan>关键指标</tspan>
+ font-size="18" font-weight="700" fill="#0F172A" text-anchor="middle">
+ <tspan>Key Metrics</tspan>
</text>
- <!-- 指标1: 总转化率 -->
- <rect x="80" y="245" width="4" height="50" rx="2" fill="#F5A623"/>
+ <!-- Metric 1 -->
+ <rect x="80" y="245" width="4" height="50" rx="2" fill="#F97316"/>
<text x="95" y="260" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#5D6D7E">
- <tspan>总转化率</tspan>
+ font-size="14" fill="#475569">
+ <tspan>Total Conversion</tspan>
</text>
<text x="95" y="285" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="32" font-weight="bold" fill="#F5A623">
+ font-size="32" font-weight="700" fill="#F97316">
<tspan>6.5%</tspan>
</text>
- <!-- 指标2: 平均客单价 -->
- <rect x="80" y="320" width="4" height="50" rx="2" fill="#2196F3"/>
+ <!-- Metric 2 -->
+ <rect x="80" y="320" width="4" height="50" rx="2" fill="#3B82F6"/>
<text x="95" y="335" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#5D6D7E">
- <tspan>平均客单价</tspan>
+ font-size="14" fill="#475569">
+ <tspan>Avg. Deal Size</tspan>
</text>
<text x="95" y="360" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="28" font-weight="bold" fill="#2196F3">
- <tspan>¥125K</tspan>
+ font-size="28" font-weight="700" fill="#3B82F6">
+ <tspan>$125K</tspan>
</text>
- <!-- 指标3: 总成交额 -->
- <rect x="80" y="395" width="4" height="50" rx="2" fill="#4CAF50"/>
+ <!-- Metric 3 -->
+ <rect x="80" y="395" width="4" height="50" rx="2" fill="#10B981"/>
<text x="95" y="410" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#5D6D7E">
- <tspan>总成交额</tspan>
+ font-size="14" fill="#475569">
+ <tspan>Total Revenue</tspan>
</text>
<text x="95" y="435" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="28" font-weight="bold" fill="#4CAF50">
- <tspan>¥81.3M</tspan>
+ font-size="28" font-weight="700" fill="#10B981">
+ <tspan>$81.3M</tspan>
</text>
- <!-- 指标4: 转化周期 -->
- <rect x="80" y="470" width="4" height="50" rx="2" fill="#9C27B0"/>
+ <!-- Metric 4 -->
+ <rect x="80" y="470" width="4" height="50" rx="2" fill="#8B5CF6"/>
<text x="95" y="485" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#5D6D7E">
- <tspan>平均周期</tspan>
+ font-size="14" fill="#475569">
+ <tspan>Sales Cycle</tspan>
</text>
<text x="95" y="510" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="28" font-weight="bold" fill="#9C27B0">
- <tspan>42天</tspan>
+ font-size="28" font-weight="700" fill="#8B5CF6">
+ <tspan>42 Days</tspan>
</text>
</g>
- <!-- 底部洞察 -->
+ <!-- Bottom Insight -->
<g id="insight">
- <rect x="320" y="610" width="880" height="60" rx="6" fill="#FFF3E0" stroke="#F5A623" stroke-width="2"/>
+ <rect x="320" y="610" width="880" height="60" rx="6" fill="#FEF3C7" stroke="#F59E0B" stroke-width="2"/>
<text x="340" y="635" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" font-weight="600" fill="#2C3E50">
- <tspan>💡 关键发现: </tspan>
+ font-size="16" font-weight="700" fill="#0F172A">
+ <tspan>💡 Key Insight: </tspan>
</text>
- <text x="445" y="635" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" fill="#5D6D7E">
- <tspan>意向客户到商务洽谈阶段转化率偏低(40%),建议加强跟进频率和提案质量</tspan>
+ <text x="460" y="635" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" fill="#475569">
+ <tspan>Significant drop-off between Interest and Consideration stages (40% conversion).</tspan>
</text>
<text x="340" y="655" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" fill="#5D6D7E">
- <tspan>与商务洽谈到成交的转化率(36%),需优化报价策略和商务条款灵活性</tspan>
+ font-size="15" fill="#475569">
+ <tspan>Recommend optimizing follow-up cadence and improving proposal quality to boost retention.</tspan>
</text>
</g>
- <!-- 数据来源 -->
+ <!-- Footer -->
<text x="60" y="695" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#95A5A6">
- <tspan>数据来源: CRM系统统计</tspan>
+ font-size="14" fill="#94A3B8">
+ <tspan>Source: Internal CRM Performance Data</tspan>
</text>
</svg>
-
diff --git a/skills/ppt-master/templates/charts/gantt_chart.svg b/skills/ppt-master/templates/charts/gantt_chart.svg
index 0116bfcf..b04cb4f3 100644
--- a/skills/ppt-master/templates/charts/gantt_chart.svg
+++ b/skills/ppt-master/templates/charts/gantt_chart.svg
@@ -1,113 +1,109 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="1280" height="720">
<!--
- 甘特图模板
- 用途: 项目进度规划、时间线管理
- 适用场景: 项目管理、里程碑跟踪、任务排期
- 支持: 8个任务 × 12周时间跨度(可调整)
+ Gantt Chart Template
+ Usage: Project timeline and milestone tracking
+ Scenarios: Project management, scheduling, roadmaps
+ Supports: 8 tasks × 12 weeks/months (adjustable)
-->
<defs>
- <!-- 任务条渐变 -->
+ <!-- Task Gradients -->
<linearGradient id="taskGrad1" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#2196F3;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#1976D2;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#3B82F6;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#2563EB;stop-opacity:1" />
</linearGradient>
<linearGradient id="taskGrad2" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#4CAF50;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#388E3C;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#10B981;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#059669;stop-opacity:1" />
</linearGradient>
<linearGradient id="taskGrad3" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#FF9800;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#F57C00;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#F59E0B;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#D97706;stop-opacity:1" />
</linearGradient>
<linearGradient id="taskGrad4" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#9C27B0;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#7B1FA2;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#8B5CF6;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#7C3AED;stop-opacity:1" />
</linearGradient>
- <!-- 阴影 -->
- <filter id="ganttShadow">
+ <!-- Standard Shadow -->
+ <filter id="taskShadow" x="-10%" y="-20%" width="120%" height="140%">
<feGaussianBlur in="SourceAlpha" stdDeviation="2"/>
<feOffset dx="0" dy="1"/>
- <feComponentTransfer>
- <feFuncA type="linear" slope="0.2"/>
- </feComponentTransfer>
- <feMerge>
- <feMergeNode/>
- <feMergeNode in="SourceGraphic"/>
- </feMerge>
+ <feFlood flood-color="#0F172A" flood-opacity="0.15"/>
+ <feComposite operator="in" in2="SourceAlpha"/>
+ <feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
- <!-- 今日线图案 -->
+ <!-- Today Pattern -->
<pattern id="todayPattern" patternUnits="userSpaceOnUse" width="4" height="4">
- <line x1="0" y1="0" x2="4" y2="4" stroke="#E74C3C" stroke-width="1"/>
+ <line x1="0" y1="0" x2="4" y2="4" stroke="#EF4444" stroke-width="1"/>
</pattern>
</defs>
- <!-- 背景 -->
- <rect width="1280" height="720" fill="#FFFFFF"/>
+ <!-- Background -->
+ <rect width="1280" height="720" fill="#F8FAFC"/>
- <!-- 标题 -->
+ <!-- Title -->
<text x="60" y="55" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="28" font-weight="bold" fill="#2C3E50">
- <tspan>项目进度计划</tspan>
+ font-size="28" font-weight="700" fill="#0F172A">
+ <tspan>Project Timeline &amp; Milestone Tracking</tspan>
</text>
<text x="60" y="85" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" fill="#7F8C8D">
- <tspan>产品发布项目 · 2025年Q1-Q2</tspan>
+ font-size="16" fill="#64748B">
+ <tspan>Strategic Initiative · H1 Roadmap</tspan>
</text>
- <!-- 时间轴头部 -->
+ <!-- Time Header -->
<g id="timeHeader">
- <!-- 月份标签背景 -->
- <rect x="280" y="105" width="960" height="30" fill="#F5F5F5"/>
+ <!-- Month Background -->
+ <rect x="280" y="105" width="960" height="30" fill="#F1F5F9"/>
- <!-- 月份分隔线和标签 -->
- <line x1="280" y1="105" x2="280" y2="640" stroke="#E0E0E0" stroke-width="1"/>
+ <!-- Month Dividers and Labels -->
+ <line x1="280" y1="105" x2="280" y2="640" stroke="#E2E8F0" stroke-width="1"/>
<text x="360" y="125" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#5D6D7E" text-anchor="middle">
- <tspan>1月</tspan>
+ font-size="14" font-weight="600" fill="#475569" text-anchor="middle">
+ <tspan>Month 01</tspan>
</text>
- <line x1="440" y1="105" x2="440" y2="640" stroke="#E0E0E0" stroke-width="1"/>
+ <line x1="440" y1="105" x2="440" y2="640" stroke="#E2E8F0" stroke-width="1"/>
<text x="520" y="125" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#5D6D7E" text-anchor="middle">
- <tspan>2月</tspan>
+ font-size="14" font-weight="600" fill="#475569" text-anchor="middle">
+ <tspan>Month 02</tspan>
</text>
- <line x1="600" y1="105" x2="600" y2="640" stroke="#E0E0E0" stroke-width="1"/>
+ <line x1="600" y1="105" x2="600" y2="640" stroke="#E2E8F0" stroke-width="1"/>
<text x="680" y="125" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#5D6D7E" text-anchor="middle">
- <tspan>3月</tspan>
+ font-size="14" font-weight="600" fill="#475569" text-anchor="middle">
+ <tspan>Month 03</tspan>
</text>
- <line x1="760" y1="105" x2="760" y2="640" stroke="#E0E0E0" stroke-width="1"/>
+ <line x1="760" y1="105" x2="760" y2="640" stroke="#E2E8F0" stroke-width="1"/>
<text x="840" y="125" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#5D6D7E" text-anchor="middle">
- <tspan>4月</tspan>
+ font-size="14" font-weight="600" fill="#475569" text-anchor="middle">
+ <tspan>Month 04</tspan>
</text>
- <line x1="920" y1="105" x2="920" y2="640" stroke="#E0E0E0" stroke-width="1"/>
+ <line x1="920" y1="105" x2="920" y2="640" stroke="#E2E8F0" stroke-width="1"/>
<text x="1000" y="125" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#5D6D7E" text-anchor="middle">
- <tspan>5月</tspan>
+ font-size="14" font-weight="600" fill="#475569" text-anchor="middle">
+ <tspan>Month 05</tspan>
</text>
- <line x1="1080" y1="105" x2="1080" y2="640" stroke="#E0E0E0" stroke-width="1"/>
+ <line x1="1080" y1="105" x2="1080" y2="640" stroke="#E2E8F0" stroke-width="1"/>
<text x="1160" y="125" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#5D6D7E" text-anchor="middle">
- <tspan>6月</tspan>
+ font-size="14" font-weight="600" fill="#475569" text-anchor="middle">
+ <tspan>Month 06</tspan>
</text>
- <line x1="1240" y1="105" x2="1240" y2="640" stroke="#E0E0E0" stroke-width="1"/>
+ <line x1="1240" y1="105" x2="1240" y2="640" stroke="#E2E8F0" stroke-width="1"/>
</g>
- <!-- 周分隔线(虚线) -->
- <g stroke="#F0F0F0" stroke-width="1" stroke-dasharray="2,2">
+ <!-- Week Dividers (Dashed) -->
+ <g stroke="#E2E8F0" stroke-width="1" stroke-dasharray="2,2">
<line x1="320" y1="135" x2="320" y2="640"/>
<line x1="360" y1="135" x2="360" y2="640"/>
<line x1="400" y1="135" x2="400" y2="640"/>
@@ -128,188 +124,187 @@
<line x1="1200" y1="135" x2="1200" y2="640"/>
</g>
- <!-- 任务列表区域 -->
+ <!-- Task List Area -->
<g id="taskList">
- <!-- 任务行背景(交替色) -->
- <rect x="40" y="135" width="240" height="60" fill="#FFFFFF"/>
- <rect x="40" y="195" width="240" height="60" fill="#FAFAFA"/>
- <rect x="40" y="255" width="240" height="60" fill="#FFFFFF"/>
- <rect x="40" y="315" width="240" height="60" fill="#FAFAFA"/>
- <rect x="40" y="375" width="240" height="60" fill="#FFFFFF"/>
- <rect x="40" y="435" width="240" height="60" fill="#FAFAFA"/>
- <rect x="40" y="495" width="240" height="60" fill="#FFFFFF"/>
- <rect x="40" y="555" width="240" height="60" fill="#FAFAFA"/>
-
- <!-- 任务名称 -->
+ <!-- Alternating Row Backgrounds -->
+ <rect x="40" y="135" width="240" height="60" fill="#F8FAFC"/>
+ <rect x="40" y="195" width="240" height="60" fill="#F1F5F9"/>
+ <rect x="40" y="255" width="240" height="60" fill="#F8FAFC"/>
+ <rect x="40" y="315" width="240" height="60" fill="#F1F5F9"/>
+ <rect x="40" y="375" width="240" height="60" fill="#F8FAFC"/>
+ <rect x="40" y="435" width="240" height="60" fill="#F1F5F9"/>
+ <rect x="40" y="495" width="240" height="60" fill="#F8FAFC"/>
+ <rect x="40" y="555" width="240" height="60" fill="#F1F5F9"/>
+
+ <!-- Task Names -->
<text x="55" y="172" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50">
- <tspan>1. 需求分析</tspan>
+ font-size="14" font-weight="600" fill="#0F172A">
+ <tspan>1. Requirements Analysis</tspan>
</text>
<text x="55" y="232" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50">
- <tspan>2. 产品设计</tspan>
+ font-size="14" font-weight="600" fill="#0F172A">
+ <tspan>2. Architecture Design</tspan>
</text>
<text x="55" y="292" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50">
- <tspan>3. UI/UX 设计</tspan>
+ font-size="14" font-weight="600" fill="#0F172A">
+ <tspan>3. UI/UX Implementation</tspan>
</text>
<text x="55" y="352" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50">
- <tspan>4. 前端开发</tspan>
+ font-size="14" font-weight="600" fill="#0F172A">
+ <tspan>4. Frontend Development</tspan>
</text>
<text x="55" y="412" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50">
- <tspan>5. 后端开发</tspan>
+ font-size="14" font-weight="600" fill="#0F172A">
+ <tspan>5. Backend Integration</tspan>
</text>
<text x="55" y="472" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50">
- <tspan>6. 测试验收</tspan>
+ font-size="14" font-weight="600" fill="#0F172A">
+ <tspan>6. QA &amp; User Testing</tspan>
</text>
<text x="55" y="532" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50">
- <tspan>7. 部署上线</tspan>
+ font-size="14" font-weight="600" fill="#0F172A">
+ <tspan>7. Deployment</tspan>
</text>
<text x="55" y="592" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50">
- <tspan>8. 运营推广</tspan>
+ font-size="14" font-weight="600" fill="#0F172A">
+ <tspan>8. Go-to-Market</tspan>
</text>
</g>
- <!-- 甘特条 -->
+ <!-- Gantt Bars -->
<g id="ganttBars">
- <!-- 任务1: 需求分析 (1月第1周 - 1月第3周) -->
- <rect x="280" y="155" width="120" height="24" rx="4" fill="url(#taskGrad1)" filter="url(#ganttShadow)"/>
+ <!-- Task 1 -->
+ <rect x="280" y="155" width="120" height="24" rx="4" fill="url(#taskGrad1)" filter="url(#taskShadow)"/>
<text x="340" y="172" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#FFFFFF" text-anchor="middle">
- <tspan>3周</tspan>
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ <tspan>3W</tspan>
</text>
- <!-- 任务2: 产品设计 (1月第2周 - 2月第2周) -->
- <rect x="320" y="215" width="200" height="24" rx="4" fill="url(#taskGrad1)" filter="url(#ganttShadow)"/>
+ <!-- Task 2 -->
+ <rect x="320" y="215" width="200" height="24" rx="4" fill="url(#taskGrad1)" filter="url(#taskShadow)"/>
<text x="420" y="232" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#FFFFFF" text-anchor="middle">
- <tspan>5周</tspan>
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ <tspan>5W</tspan>
</text>
- <!-- 任务3: UI/UX 设计 (2月第1周 - 3月第1周) -->
- <rect x="440" y="275" width="200" height="24" rx="4" fill="url(#taskGrad2)" filter="url(#ganttShadow)"/>
+ <!-- Task 3 -->
+ <rect x="440" y="275" width="200" height="24" rx="4" fill="url(#taskGrad2)" filter="url(#taskShadow)"/>
<text x="540" y="292" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#FFFFFF" text-anchor="middle">
- <tspan>5周</tspan>
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ <tspan>5W</tspan>
</text>
- <!-- 任务4: 前端开发 (2月第3周 - 4月第2周) -->
- <rect x="520" y="335" width="320" height="24" rx="4" fill="url(#taskGrad3)" filter="url(#ganttShadow)"/>
+ <!-- Task 4 -->
+ <rect x="520" y="335" width="320" height="24" rx="4" fill="url(#taskGrad3)" filter="url(#taskShadow)"/>
<text x="680" y="352" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#FFFFFF" text-anchor="middle">
- <tspan>8周</tspan>
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ <tspan>8W</tspan>
</text>
- <!-- 任务5: 后端开发 (2月第2周 - 4月第3周) -->
- <rect x="480" y="395" width="400" height="24" rx="4" fill="url(#taskGrad3)" filter="url(#ganttShadow)"/>
+ <!-- Task 5 -->
+ <rect x="480" y="395" width="400" height="24" rx="4" fill="url(#taskGrad3)" filter="url(#taskShadow)"/>
<text x="680" y="412" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#FFFFFF" text-anchor="middle">
- <tspan>10周</tspan>
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ <tspan>10W</tspan>
</text>
- <!-- 任务6: 测试验收 (4月第1周 - 5月第2周) -->
- <rect x="760" y="455" width="240" height="24" rx="4" fill="url(#taskGrad4)" filter="url(#ganttShadow)"/>
+ <!-- Task 6 -->
+ <rect x="760" y="455" width="240" height="24" rx="4" fill="url(#taskGrad4)" filter="url(#taskShadow)"/>
<text x="880" y="472" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#FFFFFF" text-anchor="middle">
- <tspan>6周</tspan>
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ <tspan>6W</tspan>
</text>
- <!-- 任务7: 部署上线 (5月第2周 - 5月第3周) -->
- <rect x="1000" y="515" width="80" height="24" rx="4" fill="url(#taskGrad4)" filter="url(#ganttShadow)"/>
+ <!-- Task 7 -->
+ <rect x="1000" y="515" width="80" height="24" rx="4" fill="url(#taskGrad4)" filter="url(#taskShadow)"/>
<text x="1040" y="532" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#FFFFFF" text-anchor="middle">
- <tspan>2周</tspan>
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ <tspan>2W</tspan>
</text>
- <!-- 任务8: 运营推广 (5月第3周 - 6月第4周) -->
- <rect x="1040" y="575" width="200" height="24" rx="4" fill="url(#taskGrad2)" filter="url(#ganttShadow)"/>
+ <!-- Task 8 -->
+ <rect x="1040" y="575" width="200" height="24" rx="4" fill="url(#taskGrad2)" filter="url(#taskShadow)"/>
<text x="1140" y="592" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#FFFFFF" text-anchor="middle">
- <tspan>5周</tspan>
+ font-size="12" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ <tspan>5W</tspan>
</text>
</g>
- <!-- 里程碑标记 -->
+ <!-- Milestones -->
<g id="milestones">
- <!-- 里程碑: 需求评审 -->
- <polygon points="400,165 410,155 420,165 410,175" fill="#E74C3C"/>
+ <!-- Milestone 1 -->
+ <polygon points="400,165 410,155 420,165 410,175" fill="#EF4444"/>
<text x="410" y="145" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" fill="#E74C3C" text-anchor="middle">
- <tspan>需求评审</tspan>
+ font-size="11" font-weight="600" fill="#EF4444" text-anchor="middle">
+ <tspan>PRD Sign-off</tspan>
</text>
- <!-- 里程碑: 设计评审 -->
- <polygon points="640,285 650,275 660,285 650,295" fill="#E74C3C"/>
+ <!-- Milestone 2 -->
+ <polygon points="640,285 650,275 660,285 650,295" fill="#EF4444"/>
<text x="650" y="265" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" fill="#E74C3C" text-anchor="middle">
- <tspan>设计评审</tspan>
+ font-size="11" font-weight="600" fill="#EF4444" text-anchor="middle">
+ <tspan>Design Review</tspan>
</text>
- <!-- 里程碑: 产品发布 -->
- <polygon points="1070,525 1080,515 1090,525 1080,535" fill="#E74C3C"/>
+ <!-- Milestone 3 -->
+ <polygon points="1070,525 1080,515 1090,525 1080,535" fill="#EF4444"/>
<text x="1080" y="550" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" fill="#E74C3C" text-anchor="middle">
- <tspan>产品发布</tspan>
+ font-size="11" font-weight="600" fill="#EF4444" text-anchor="middle">
+ <tspan>Launch</tspan>
</text>
</g>
- <!-- 今日线 (假设在3月第2周) -->
- <line x1="680" y1="105" x2="680" y2="640" stroke="#E74C3C" stroke-width="2" stroke-dasharray="6,3"/>
- <rect x="660" y="95" width="40" height="20" rx="3" fill="#E74C3C"/>
- <text x="680" y="109" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" fill="#FFFFFF" text-anchor="middle">
- <tspan>今日</tspan>
+ <!-- Today Line -->
+ <line x1="680" y1="105" x2="680" y2="640" stroke="#EF4444" stroke-width="2" stroke-dasharray="6,3"/>
+ <rect x="656" y="85" width="48" height="20" rx="3" fill="#EF4444"/>
+ <text x="680" y="99" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="11" font-weight="600" fill="#FFFFFF" text-anchor="middle">
+ <tspan>TODAY</tspan>
</text>
- <!-- 图例 -->
+ <!-- Legend -->
<g id="legend" transform="translate(60, 650)">
<rect x="0" y="0" width="16" height="16" rx="2" fill="url(#taskGrad1)"/>
<text x="25" y="13" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#5D6D7E">
- <tspan>规划阶段</tspan>
+ font-size="12" fill="#475569">
+ <tspan>Phase 1: Planning</tspan>
</text>
- <rect x="100" y="0" width="16" height="16" rx="2" fill="url(#taskGrad2)"/>
- <text x="125" y="13" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#5D6D7E">
- <tspan>设计阶段</tspan>
+ <rect x="140" y="0" width="16" height="16" rx="2" fill="url(#taskGrad2)"/>
+ <text x="165" y="13" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" fill="#475569">
+ <tspan>Phase 2: Design</tspan>
</text>
- <rect x="200" y="0" width="16" height="16" rx="2" fill="url(#taskGrad3)"/>
- <text x="225" y="13" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#5D6D7E">
- <tspan>开发阶段</tspan>
+ <rect x="280" y="0" width="16" height="16" rx="2" fill="url(#taskGrad3)"/>
+ <text x="305" y="13" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" fill="#475569">
+ <tspan>Phase 3: Execution</tspan>
</text>
- <rect x="300" y="0" width="16" height="16" rx="2" fill="url(#taskGrad4)"/>
- <text x="325" y="13" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#5D6D7E">
- <tspan>测试发布</tspan>
+ <rect x="430" y="0" width="16" height="16" rx="2" fill="url(#taskGrad4)"/>
+ <text x="455" y="13" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" fill="#475569">
+ <tspan>Phase 4: Launch</tspan>
</text>
- <polygon points="420,8 430,-2 440,8 430,18" fill="#E74C3C"/>
- <text x="455" y="13" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#5D6D7E">
- <tspan>里程碑</tspan>
+ <polygon points="570,8 580,-2 590,8 580,18" fill="#EF4444"/>
+ <text x="605" y="13" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" fill="#475569">
+ <tspan>Milestone</tspan>
</text>
</g>
- <!-- 项目信息 -->
+ <!-- Footer -->
<text x="1220" y="695" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#95A5A6" text-anchor="end">
- <tspan>项目经理: 张三 | 更新日期: 2025-03-15</tspan>
+ font-size="14" fill="#94A3B8" text-anchor="end">
+ <tspan>Owner: PMO | Last Updated: YYYY-MM-DD</tspan>
</text>
</svg>
-
diff --git a/skills/ppt-master/templates/charts/gauge_chart.svg b/skills/ppt-master/templates/charts/gauge_chart.svg
index 61877b60..560e7e1b 100644
--- a/skills/ppt-master/templates/charts/gauge_chart.svg
+++ b/skills/ppt-master/templates/charts/gauge_chart.svg
@@ -1,262 +1,263 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="1280" height="720">
<!--
- 仪表盘图模板
- 用途: 单一指标达成度展示
- 适用场景: KPI完成率、健康指数、性能评分、目标达成
- 支持: 3个仪表盘并排展示
+ Gauge Chart Template
+ Usage: Single metric attainment display
+ Scenarios: KPI completion, health index, performance score
+ Supports: 3 gauges side by side
-->
<defs>
- <!-- 背景弧渐变 -->
+ <!-- Background Arc Gradient -->
<linearGradient id="bgArcGrad" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#E0E0E0;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#EEEEEE;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#E2E8F0;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#F1F5F9;stop-opacity:1" />
</linearGradient>
- <!-- 优秀区域渐变(绿色) -->
+ <!-- Excellent Gradient (Emerald) -->
<linearGradient id="excellentGrad" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#4CAF50;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#8BC34A;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#10B981;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#059669;stop-opacity:1" />
</linearGradient>
- <!-- 良好区域渐变(蓝色) -->
+ <!-- Good Gradient (Blue) -->
<linearGradient id="goodGrad" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#2196F3;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#03A9F4;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#3B82F6;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#2563EB;stop-opacity:1" />
</linearGradient>
- <!-- 警告区域渐变(橙色) -->
+ <!-- Warning Gradient (Amber) -->
<linearGradient id="warningGrad" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#FF9800;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#FFC107;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#F59E0B;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#D97706;stop-opacity:1" />
</linearGradient>
- <!-- 危险区域渐变(红色) -->
+ <!-- Danger Gradient (Red) -->
<linearGradient id="dangerGrad" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#f44336;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#E91E63;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#EF4444;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#DC2626;stop-opacity:1" />
</linearGradient>
- <!-- 指针阴影 -->
- <filter id="needleShadow">
+ <!-- Needle Shadow -->
+ <filter id="needleShadow" x="-20%" y="-20%" width="140%" height="140%">
<feGaussianBlur in="SourceAlpha" stdDeviation="3"/>
- <feOffset dx="0" dy="2"/>
- <feComponentTransfer>
- <feFuncA type="linear" slope="0.4"/>
- </feComponentTransfer>
- <feMerge>
- <feMergeNode/>
- <feMergeNode in="SourceGraphic"/>
- </feMerge>
+ <feOffset dx="0" dy="2" result="offsetblur"/>
+ <feFlood flood-color="#0F172A" flood-opacity="0.25" result="shadowColor"/>
+ <feComposite in="shadowColor" in2="offsetblur" operator="in" result="shadow"/>
+ <feMerge><feMergeNode in="shadow"/><feMergeNode in="SourceGraphic"/></feMerge>
+ </filter>
+
+ <!-- Card Shadow -->
+ <filter id="cardShadow" x="-15%" y="-15%" width="130%" height="130%">
+ <feGaussianBlur in="SourceAlpha" stdDeviation="4"/>
+ <feOffset dx="0" dy="2" result="offsetblur"/>
+ <feFlood flood-color="#0F172A" flood-opacity="0.1" result="shadowColor"/>
+ <feComposite in="shadowColor" in2="offsetblur" operator="in" result="shadow"/>
+ <feMerge><feMergeNode in="shadow"/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
</defs>
- <!-- 背景 -->
- <rect width="1280" height="720" fill="#FFFFFF"/>
+ <!-- Background -->
+ <rect width="1280" height="720" fill="#F8FAFC"/>
- <!-- 标题 -->
- <text x="640" y="60" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="32" font-weight="bold" fill="#2C3E50" text-anchor="middle">
- <tspan>业务核心指标仪表盘</tspan>
+ <!-- Title -->
+ <text x="640" y="60" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="32" font-weight="700" fill="#0F172A" text-anchor="middle">
+ <tspan>Core Business KPI Dashboard</tspan>
</text>
- <text x="640" y="95" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="18" fill="#7F8C8D" text-anchor="middle">
- <tspan>2025年第四季度实时数据</tspan>
+ <text x="640" y="95" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="18" fill="#64748B" text-anchor="middle">
+ <tspan>Q4 Performance Real-time Data</tspan>
</text>
- <!-- 仪表盘1: 销售完成率 85% -->
+ <!-- Gauge 1: Sales Completion 85% -->
<g id="gauge1" transform="translate(220, 380)">
- <!-- 背景弧 -->
- <path d="M -150,0 A 150,150 0 0,1 150,0" fill="none" stroke="#EEEEEE" stroke-width="30" stroke-linecap="round"/>
-
- <!-- 刻度区域 (0-60% 红色, 60-80% 橙色, 80-100% 绿色) -->
- <!-- 红色区域 0-60% (0° to 108°) -->
- <path d="M -150,0 A 150,150 0 0,1 -46.35,-142.65" fill="none" stroke="#FFCDD2" stroke-width="30" stroke-linecap="round"/>
- <!-- 橙色区域 60-80% (108° to 144°) -->
- <path d="M -46.35,-142.65 A 150,150 0 0,1 58.68,-138.05" fill="none" stroke="#FFE0B2" stroke-width="30" stroke-linecap="round"/>
- <!-- 绿色区域 80-100% (144° to 180°) -->
- <path d="M 58.68,-138.05 A 150,150 0 0,1 150,0" fill="none" stroke="#C8E6C9" stroke-width="30" stroke-linecap="round"/>
-
- <!-- 当前值弧 85% (从左到85%位置,约153°) -->
+ <!-- Background Arc -->
+ <path d="M -150,0 A 150,150 0 0,1 150,0" fill="none" stroke="#E2E8F0" stroke-width="30" stroke-linecap="round"/>
+
+ <!-- Scales (0-60% Red, 60-80% Amber, 80-100% Emerald) -->
+ <path d="M -150,0 A 150,150 0 0,1 -46.35,-142.65" fill="none" stroke="#FECACA" stroke-width="30" stroke-linecap="round"/>
+ <path d="M -46.35,-142.65 A 150,150 0 0,1 58.68,-138.05" fill="none" stroke="#FDE68A" stroke-width="30" stroke-linecap="round"/>
+ <path d="M 58.68,-138.05 A 150,150 0 0,1 150,0" fill="none" stroke="#A7F3D0" stroke-width="30" stroke-linecap="round"/>
+
+ <!-- Value Arc 85% -->
<path d="M -150,0 A 150,150 0 0,1 103.95,-108.45" fill="none" stroke="url(#excellentGrad)" stroke-width="30" stroke-linecap="round"/>
- <!-- 刻度线 -->
- <line x1="-135" y1="0" x2="-120" y2="0" stroke="#7F8C8D" stroke-width="2"/>
- <line x1="-95.5" y1="-95.5" x2="-84.85" y2="-84.85" stroke="#7F8C8D" stroke-width="2"/>
- <line x1="0" y1="-135" x2="0" y2="-120" stroke="#7F8C8D" stroke-width="2"/>
- <line x1="95.5" y1="-95.5" x2="84.85" y2="-84.85" stroke="#7F8C8D" stroke-width="2"/>
- <line x1="135" y1="0" x2="120" y2="0" stroke="#7F8C8D" stroke-width="2"/>
+ <!-- Tick Marks -->
+ <line x1="-135" y1="0" x2="-120" y2="0" stroke="#64748B" stroke-width="2"/>
+ <line x1="-95.5" y1="-95.5" x2="-84.85" y2="-84.85" stroke="#64748B" stroke-width="2"/>
+ <line x1="0" y1="-135" x2="0" y2="-120" stroke="#64748B" stroke-width="2"/>
+ <line x1="95.5" y1="-95.5" x2="84.85" y2="-84.85" stroke="#64748B" stroke-width="2"/>
+ <line x1="135" y1="0" x2="120" y2="0" stroke="#64748B" stroke-width="2"/>
- <!-- 刻度标签 -->
+ <!-- Tick Labels -->
<text x="-155" y="25" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle"><tspan>0%</tspan></text>
+ font-size="14" fill="#64748B" text-anchor="middle"><tspan>0%</tspan></text>
<text x="0" y="-155" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle"><tspan>50%</tspan></text>
+ font-size="14" fill="#64748B" text-anchor="middle"><tspan>50%</tspan></text>
<text x="155" y="25" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle"><tspan>100%</tspan></text>
+ font-size="14" fill="#64748B" text-anchor="middle"><tspan>100%</tspan></text>
- <!-- 指针 (85% = 153°, 从-90°开始) -->
+ <!-- Needle (85% = 153°, start from -90°) -->
<g transform="rotate(63)">
- <path d="M 0,-100 L -8,0 L 0,15 L 8,0 Z" fill="#2C3E50" filter="url(#needleShadow)"/>
+ <path d="M 0,-100 L -8,0 L 0,15 L 8,0 Z" fill="#0F172A" filter="url(#needleShadow)"/>
</g>
- <circle cx="0" cy="0" r="15" fill="#2C3E50"/>
+ <circle cx="0" cy="0" r="15" fill="#0F172A"/>
<circle cx="0" cy="0" r="8" fill="#FFFFFF"/>
- <!-- 中心数值 -->
+ <!-- Center Value -->
<text x="0" y="60" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="48" font-weight="bold" fill="#4CAF50" text-anchor="middle">
+ font-size="48" font-weight="700" fill="#10B981" text-anchor="middle">
<tspan>85%</tspan>
</text>
- <!-- 标题 -->
- <text x="0" y="100" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="18" font-weight="600" fill="#2C3E50" text-anchor="middle">
- <tspan>销售完成率</tspan>
+ <!-- Title -->
+ <text x="0" y="100" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="18" font-weight="600" fill="#0F172A" text-anchor="middle">
+ <tspan>Sales Target Attainment</tspan>
</text>
- <!-- 状态标签 -->
- <rect x="-35" y="115" width="70" height="26" rx="13" fill="#E8F5E9"/>
- <text x="0" y="133" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="13" fill="#4CAF50" text-anchor="middle">
- <tspan>优秀</tspan>
+ <!-- Status Tag -->
+ <rect x="-40" y="115" width="80" height="26" rx="13" fill="#D1FAE5"/>
+ <text x="0" y="133" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" font-weight="600" fill="#10B981" text-anchor="middle">
+ <tspan>Excellent</tspan>
</text>
</g>
- <!-- 仪表盘2: 客户满意度 72% -->
+ <!-- Gauge 2: Customer Satisfaction 72% -->
<g id="gauge2" transform="translate(640, 380)">
- <!-- 背景弧 -->
- <path d="M -150,0 A 150,150 0 0,1 150,0" fill="none" stroke="#EEEEEE" stroke-width="30" stroke-linecap="round"/>
+ <!-- Background Arc -->
+ <path d="M -150,0 A 150,150 0 0,1 150,0" fill="none" stroke="#E2E8F0" stroke-width="30" stroke-linecap="round"/>
- <!-- 刻度区域 -->
- <path d="M -150,0 A 150,150 0 0,1 -46.35,-142.65" fill="none" stroke="#FFCDD2" stroke-width="30" stroke-linecap="round"/>
- <path d="M -46.35,-142.65 A 150,150 0 0,1 58.68,-138.05" fill="none" stroke="#FFE0B2" stroke-width="30" stroke-linecap="round"/>
- <path d="M 58.68,-138.05 A 150,150 0 0,1 150,0" fill="none" stroke="#C8E6C9" stroke-width="30" stroke-linecap="round"/>
+ <!-- Scales -->
+ <path d="M -150,0 A 150,150 0 0,1 -46.35,-142.65" fill="none" stroke="#FECACA" stroke-width="30" stroke-linecap="round"/>
+ <path d="M -46.35,-142.65 A 150,150 0 0,1 58.68,-138.05" fill="none" stroke="#FDE68A" stroke-width="30" stroke-linecap="round"/>
+ <path d="M 58.68,-138.05 A 150,150 0 0,1 150,0" fill="none" stroke="#A7F3D0" stroke-width="30" stroke-linecap="round"/>
- <!-- 当前值弧 72% (约129.6°) -->
+ <!-- Value Arc 72% -->
<path d="M -150,0 A 150,150 0 0,1 24.93,-147.91" fill="none" stroke="url(#goodGrad)" stroke-width="30" stroke-linecap="round"/>
- <!-- 刻度线 -->
- <line x1="-135" y1="0" x2="-120" y2="0" stroke="#7F8C8D" stroke-width="2"/>
- <line x1="-95.5" y1="-95.5" x2="-84.85" y2="-84.85" stroke="#7F8C8D" stroke-width="2"/>
- <line x1="0" y1="-135" x2="0" y2="-120" stroke="#7F8C8D" stroke-width="2"/>
- <line x1="95.5" y1="-95.5" x2="84.85" y2="-84.85" stroke="#7F8C8D" stroke-width="2"/>
- <line x1="135" y1="0" x2="120" y2="0" stroke="#7F8C8D" stroke-width="2"/>
+ <!-- Tick Marks -->
+ <line x1="-135" y1="0" x2="-120" y2="0" stroke="#64748B" stroke-width="2"/>
+ <line x1="-95.5" y1="-95.5" x2="-84.85" y2="-84.85" stroke="#64748B" stroke-width="2"/>
+ <line x1="0" y1="-135" x2="0" y2="-120" stroke="#64748B" stroke-width="2"/>
+ <line x1="95.5" y1="-95.5" x2="84.85" y2="-84.85" stroke="#64748B" stroke-width="2"/>
+ <line x1="135" y1="0" x2="120" y2="0" stroke="#64748B" stroke-width="2"/>
- <!-- 刻度标签 -->
+ <!-- Tick Labels -->
<text x="-155" y="25" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle"><tspan>0%</tspan></text>
+ font-size="14" fill="#64748B" text-anchor="middle"><tspan>0%</tspan></text>
<text x="0" y="-155" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle"><tspan>50%</tspan></text>
+ font-size="14" fill="#64748B" text-anchor="middle"><tspan>50%</tspan></text>
<text x="155" y="25" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle"><tspan>100%</tspan></text>
+ font-size="14" fill="#64748B" text-anchor="middle"><tspan>100%</tspan></text>
- <!-- 指针 (72% = 129.6°, 从-90°开始,即39.6°) -->
+ <!-- Needle -->
<g transform="rotate(39.6)">
- <path d="M 0,-100 L -8,0 L 0,15 L 8,0 Z" fill="#2C3E50" filter="url(#needleShadow)"/>
+ <path d="M 0,-100 L -8,0 L 0,15 L 8,0 Z" fill="#0F172A" filter="url(#needleShadow)"/>
</g>
- <circle cx="0" cy="0" r="15" fill="#2C3E50"/>
+ <circle cx="0" cy="0" r="15" fill="#0F172A"/>
<circle cx="0" cy="0" r="8" fill="#FFFFFF"/>
- <!-- 中心数值 -->
+ <!-- Center Value -->
<text x="0" y="60" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="48" font-weight="bold" fill="#2196F3" text-anchor="middle">
+ font-size="48" font-weight="700" fill="#3B82F6" text-anchor="middle">
<tspan>72%</tspan>
</text>
- <!-- 标题 -->
- <text x="0" y="100" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="18" font-weight="600" fill="#2C3E50" text-anchor="middle">
- <tspan>客户满意度</tspan>
+ <!-- Title -->
+ <text x="0" y="100" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="18" font-weight="600" fill="#0F172A" text-anchor="middle">
+ <tspan>Customer Satisfaction</tspan>
</text>
- <!-- 状态标签 -->
- <rect x="-35" y="115" width="70" height="26" rx="13" fill="#E3F2FD"/>
- <text x="0" y="133" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="13" fill="#2196F3" text-anchor="middle">
- <tspan>良好</tspan>
+ <!-- Status Tag -->
+ <rect x="-35" y="115" width="70" height="26" rx="13" fill="#DBEAFE"/>
+ <text x="0" y="133" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" font-weight="600" fill="#3B82F6" text-anchor="middle">
+ <tspan>Good</tspan>
</text>
</g>
- <!-- 仪表盘3: 库存周转 58% -->
+ <!-- Gauge 3: Inventory Turnover 58% -->
<g id="gauge3" transform="translate(1060, 380)">
- <!-- 背景弧 -->
- <path d="M -150,0 A 150,150 0 0,1 150,0" fill="none" stroke="#EEEEEE" stroke-width="30" stroke-linecap="round"/>
+ <!-- Background Arc -->
+ <path d="M -150,0 A 150,150 0 0,1 150,0" fill="none" stroke="#E2E8F0" stroke-width="30" stroke-linecap="round"/>
- <!-- 刻度区域 -->
- <path d="M -150,0 A 150,150 0 0,1 -46.35,-142.65" fill="none" stroke="#FFCDD2" stroke-width="30" stroke-linecap="round"/>
- <path d="M -46.35,-142.65 A 150,150 0 0,1 58.68,-138.05" fill="none" stroke="#FFE0B2" stroke-width="30" stroke-linecap="round"/>
- <path d="M 58.68,-138.05 A 150,150 0 0,1 150,0" fill="none" stroke="#C8E6C9" stroke-width="30" stroke-linecap="round"/>
+ <!-- Scales -->
+ <path d="M -150,0 A 150,150 0 0,1 -46.35,-142.65" fill="none" stroke="#FECACA" stroke-width="30" stroke-linecap="round"/>
+ <path d="M -46.35,-142.65 A 150,150 0 0,1 58.68,-138.05" fill="none" stroke="#FDE68A" stroke-width="30" stroke-linecap="round"/>
+ <path d="M 58.68,-138.05 A 150,150 0 0,1 150,0" fill="none" stroke="#A7F3D0" stroke-width="30" stroke-linecap="round"/>
- <!-- 当前值弧 58% (约104.4°) -->
+ <!-- Value Arc 58% -->
<path d="M -150,0 A 150,150 0 0,1 -58.36,-138.17" fill="none" stroke="url(#warningGrad)" stroke-width="30" stroke-linecap="round"/>
- <!-- 刻度线 -->
- <line x1="-135" y1="0" x2="-120" y2="0" stroke="#7F8C8D" stroke-width="2"/>
- <line x1="-95.5" y1="-95.5" x2="-84.85" y2="-84.85" stroke="#7F8C8D" stroke-width="2"/>
- <line x1="0" y1="-135" x2="0" y2="-120" stroke="#7F8C8D" stroke-width="2"/>
- <line x1="95.5" y1="-95.5" x2="84.85" y2="-84.85" stroke="#7F8C8D" stroke-width="2"/>
- <line x1="135" y1="0" x2="120" y2="0" stroke="#7F8C8D" stroke-width="2"/>
+ <!-- Tick Marks -->
+ <line x1="-135" y1="0" x2="-120" y2="0" stroke="#64748B" stroke-width="2"/>
+ <line x1="-95.5" y1="-95.5" x2="-84.85" y2="-84.85" stroke="#64748B" stroke-width="2"/>
+ <line x1="0" y1="-135" x2="0" y2="-120" stroke="#64748B" stroke-width="2"/>
+ <line x1="95.5" y1="-95.5" x2="84.85" y2="-84.85" stroke="#64748B" stroke-width="2"/>
+ <line x1="135" y1="0" x2="120" y2="0" stroke="#64748B" stroke-width="2"/>
- <!-- 刻度标签 -->
+ <!-- Tick Labels -->
<text x="-155" y="25" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle"><tspan>0%</tspan></text>
+ font-size="14" fill="#64748B" text-anchor="middle"><tspan>0%</tspan></text>
<text x="0" y="-155" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle"><tspan>50%</tspan></text>
+ font-size="14" fill="#64748B" text-anchor="middle"><tspan>50%</tspan></text>
<text x="155" y="25" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle"><tspan>100%</tspan></text>
+ font-size="14" fill="#64748B" text-anchor="middle"><tspan>100%</tspan></text>
- <!-- 指针 (58% = 104.4°, 从-90°开始,即14.4°) -->
+ <!-- Needle -->
<g transform="rotate(14.4)">
- <path d="M 0,-100 L -8,0 L 0,15 L 8,0 Z" fill="#2C3E50" filter="url(#needleShadow)"/>
+ <path d="M 0,-100 L -8,0 L 0,15 L 8,0 Z" fill="#0F172A" filter="url(#needleShadow)"/>
</g>
- <circle cx="0" cy="0" r="15" fill="#2C3E50"/>
+ <circle cx="0" cy="0" r="15" fill="#0F172A"/>
<circle cx="0" cy="0" r="8" fill="#FFFFFF"/>
- <!-- 中心数值 -->
+ <!-- Center Value -->
<text x="0" y="60" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="48" font-weight="bold" fill="#FF9800" text-anchor="middle">
+ font-size="48" font-weight="700" fill="#F59E0B" text-anchor="middle">
<tspan>58%</tspan>
</text>
- <!-- 标题 -->
- <text x="0" y="100" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="18" font-weight="600" fill="#2C3E50" text-anchor="middle">
- <tspan>库存周转率</tspan>
+ <!-- Title -->
+ <text x="0" y="100" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="18" font-weight="600" fill="#0F172A" text-anchor="middle">
+ <tspan>Inventory Turnover</tspan>
</text>
- <!-- 状态标签 -->
- <rect x="-35" y="115" width="70" height="26" rx="13" fill="#FFF3E0"/>
- <text x="0" y="133" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="13" fill="#FF9800" text-anchor="middle">
- <tspan>需关注</tspan>
+ <!-- Status Tag -->
+ <rect x="-40" y="115" width="80" height="26" rx="13" fill="#FEF3C7"/>
+ <text x="0" y="133" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" font-weight="600" fill="#F59E0B" text-anchor="middle">
+ <tspan>Warning</tspan>
</text>
</g>
- <!-- 图例说明 -->
+ <!-- Legend -->
<g id="legendBar" transform="translate(340, 600)">
- <rect x="0" y="0" width="600" height="40" rx="8" fill="#F8F9FA" stroke="#E0E0E0" stroke-width="1"/>
+ <rect x="0" y="0" width="600" height="40" rx="8" fill="#FFFFFF" filter="url(#cardShadow)"/>
- <rect x="30" y="12" width="16" height="16" rx="3" fill="#FFCDD2"/>
- <text x="55" y="24" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="13" fill="#5D6D7E"><tspan>危险 (0-60%)</tspan></text>
+ <rect x="30" y="12" width="16" height="16" rx="3" fill="#FECACA"/>
+ <text x="55" y="24" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" font-weight="600" fill="#475569"><tspan>Critical (0-60%)</tspan></text>
- <rect x="170" y="12" width="16" height="16" rx="3" fill="#FFE0B2"/>
- <text x="195" y="24" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="13" fill="#5D6D7E"><tspan>警告 (60-80%)</tspan></text>
+ <rect x="180" y="12" width="16" height="16" rx="3" fill="#FDE68A"/>
+ <text x="205" y="24" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" font-weight="600" fill="#475569"><tspan>Warning (60-80%)</tspan></text>
- <rect x="320" y="12" width="16" height="16" rx="3" fill="#C8E6C9"/>
- <text x="345" y="24" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="13" fill="#5D6D7E"><tspan>优秀 (80-100%)</tspan></text>
+ <rect x="340" y="12" width="16" height="16" rx="3" fill="#A7F3D0"/>
+ <text x="365" y="24" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" font-weight="600" fill="#475569"><tspan>Target (80-100%)</tspan></text>
- <text x="500" y="24" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="13" fill="#95A5A6"><tspan>目标: 80%</tspan></text>
+ <text x="500" y="24" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" fill="#94A3B8"><tspan>Benchmark: 80%</tspan></text>
</g>
- <!-- 数据来源 -->
- <text x="640" y="695" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#95A5A6" text-anchor="middle">
- <tspan>数据来源: 业务数据平台 · 实时更新</tspan>
+ <!-- Data Source -->
+ <text x="640" y="695" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" fill="#94A3B8" text-anchor="middle">
+ <tspan>Source: Business Intelligence Platform · Live Data</tspan>
</text>
</svg>
-
diff --git a/skills/ppt-master/templates/charts/grouped_bar_chart.svg b/skills/ppt-master/templates/charts/grouped_bar_chart.svg
index d1cdda92..b6388bc9 100644
--- a/skills/ppt-master/templates/charts/grouped_bar_chart.svg
+++ b/skills/ppt-master/templates/charts/grouped_bar_chart.svg
@@ -1,275 +1,260 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="1280" height="720">
<!--
- 分组柱状图模板
- 用途: 多系列数据对比
- 适用场景: 多产品/时期/分类对比、同比环比分析
- 支持: 4组 × 3系列(可调整为3-6组,2-4系列)
- 与普通柱状图区别: 每个类别下有多个并排柱子,用于对比
+ Grouped Bar Chart Template
+ Usage: Multi-series data comparison
+ Scenarios: Product/period/category comparison, YoY/QoQ analysis
+ Supports: 4 groups × 3 series (adjustable to 3-6 groups, 2-4 series)
-->
<defs>
- <!-- 系列1渐变(蓝色) -->
+ <!-- Series 1 Gradient (Blue) -->
<linearGradient id="groupGrad1" x1="0%" y1="0%" x2="0%" y2="100%">
- <stop offset="0%" style="stop-color:#2196F3;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#1976D2;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#3B82F6;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#2563EB;stop-opacity:1" />
</linearGradient>
- <!-- 系列2渐变(绿色) -->
+ <!-- Series 2 Gradient (Emerald) -->
<linearGradient id="groupGrad2" x1="0%" y1="0%" x2="0%" y2="100%">
- <stop offset="0%" style="stop-color:#4CAF50;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#388E3C;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#10B981;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#059669;stop-opacity:1" />
</linearGradient>
- <!-- 系列3渐变(橙色) -->
+ <!-- Series 3 Gradient (Amber) -->
<linearGradient id="groupGrad3" x1="0%" y1="0%" x2="0%" y2="100%">
- <stop offset="0%" style="stop-color:#FF9800;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#F57C00;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#F59E0B;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#D97706;stop-opacity:1" />
</linearGradient>
- <!-- 阴影 -->
- <filter id="groupShadow">
- <feGaussianBlur in="SourceAlpha" stdDeviation="2"/>
- <feOffset dx="0" dy="1"/>
- <feComponentTransfer>
- <feFuncA type="linear" slope="0.25"/>
- </feComponentTransfer>
- <feMerge>
- <feMergeNode/>
- <feMergeNode in="SourceGraphic"/>
- </feMerge>
+ <!-- Standard Shadow -->
+ <filter id="cardShadow" x="-15%" y="-15%" width="130%" height="130%">
+ <feGaussianBlur in="SourceAlpha" stdDeviation="4"/>
+ <feOffset dx="0" dy="2" result="offsetblur"/>
+ <feFlood flood-color="#0F172A" flood-opacity="0.1" result="shadowColor"/>
+ <feComposite in="shadowColor" in2="offsetblur" operator="in" result="shadow"/>
+ <feMerge><feMergeNode in="shadow"/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
</defs>
- <!-- 背景 -->
- <rect width="1280" height="720" fill="#FFFFFF"/>
+ <!-- Background -->
+ <rect width="1280" height="720" fill="#F8FAFC"/>
- <!-- 标题 -->
- <text x="60" y="70" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="32" font-weight="bold" fill="#2C3E50">
- <tspan>各季度产品线销售对比</tspan>
+ <!-- Title -->
+ <text x="60" y="70" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="32" font-weight="700" fill="#0F172A">
+ <tspan>Quarterly Revenue by Division</tspan>
</text>
- <text x="60" y="105" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="18" fill="#7F8C8D">
- <tspan>2025年度 · 单位:百万元</tspan>
+ <text x="60" y="105" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="18" fill="#64748B">
+ <tspan>Fiscal Year 2025 · Unit: $M</tspan>
</text>
- <!-- 图例 -->
+ <!-- Legend -->
<g id="legend" transform="translate(900, 70)">
<rect x="0" y="0" width="20" height="20" rx="3" fill="url(#groupGrad1)"/>
- <text x="30" y="15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="15" fill="#5D6D7E">
- <tspan>产品线A</tspan>
+ <text x="30" y="15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" fill="#475569">
+ <tspan>Division A</tspan>
</text>
<rect x="120" y="0" width="20" height="20" rx="3" fill="url(#groupGrad2)"/>
- <text x="150" y="15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="15" fill="#5D6D7E">
- <tspan>产品线B</tspan>
+ <text x="150" y="15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" fill="#475569">
+ <tspan>Division B</tspan>
</text>
<rect x="240" y="0" width="20" height="20" rx="3" fill="url(#groupGrad3)"/>
- <text x="270" y="15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="15" fill="#5D6D7E">
- <tspan>产品线C</tspan>
+ <text x="270" y="15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" fill="#475569">
+ <tspan>Division C</tspan>
</text>
</g>
- <!-- 图表区域 -->
+ <!-- Chart Area -->
<g id="chartArea">
- <!-- Y轴网格线 -->
- <line x1="140" y1="570" x2="1180" y2="570" stroke="#E0E0E0" stroke-width="1" stroke-dasharray="4,4"/>
- <line x1="140" y1="480" x2="1180" y2="480" stroke="#E0E0E0" stroke-width="1" stroke-dasharray="4,4"/>
- <line x1="140" y1="390" x2="1180" y2="390" stroke="#E0E0E0" stroke-width="1" stroke-dasharray="4,4"/>
- <line x1="140" y1="300" x2="1180" y2="300" stroke="#E0E0E0" stroke-width="1" stroke-dasharray="4,4"/>
- <line x1="140" y1="210" x2="1180" y2="210" stroke="#E0E0E0" stroke-width="1" stroke-dasharray="4,4"/>
+ <!-- Y-Axis Grid Lines -->
+ <line x1="140" y1="570" x2="1180" y2="570" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+ <line x1="140" y1="480" x2="1180" y2="480" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+ <line x1="140" y1="390" x2="1180" y2="390" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+ <line x1="140" y1="300" x2="1180" y2="300" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+ <line x1="140" y1="210" x2="1180" y2="210" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
- <!-- Y轴刻度标签 -->
+ <!-- Y-Axis Tick Labels -->
<text x="125" y="575" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="end">
+ font-size="14" fill="#64748B" text-anchor="end">
<tspan>0</tspan>
</text>
<text x="125" y="485" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="end">
+ font-size="14" fill="#64748B" text-anchor="end">
<tspan>50</tspan>
</text>
<text x="125" y="395" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="end">
+ font-size="14" fill="#64748B" text-anchor="end">
<tspan>100</tspan>
</text>
<text x="125" y="305" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="end">
+ font-size="14" fill="#64748B" text-anchor="end">
<tspan>150</tspan>
</text>
<text x="125" y="215" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="end">
+ font-size="14" fill="#64748B" text-anchor="end">
<tspan>200</tspan>
</text>
- <!-- 坐标轴 -->
- <line x1="140" y1="165" x2="140" y2="570" stroke="#95A5A6" stroke-width="2"/>
- <line x1="140" y1="570" x2="1180" y2="570" stroke="#95A5A6" stroke-width="2"/>
+ <!-- Axes -->
+ <line x1="140" y1="165" x2="140" y2="570" stroke="#94A3B8" stroke-width="2"/>
+ <line x1="140" y1="570" x2="1180" y2="570" stroke="#94A3B8" stroke-width="2"/>
- <!--
- 分组说明:
- - 4个组(Q1-Q4),每组3个柱子
- - 组宽度:240px,组间距:20px
- - 柱宽:60px,柱间距:10px
- - 每组起始:170, 430, 690, 950
- - 每50单位=90px高度
- -->
-
- <!-- Q1 组 -->
- <!-- Q1 产品线A: 120M (高度216px) -->
- <rect x="170" y="354" width="60" height="216" rx="4" fill="url(#groupGrad1)" filter="url(#groupShadow)"/>
+ <!-- Q1 Group -->
+ <!-- Q1 Div A: 120M (Height 216px) -->
+ <rect x="170" y="354" width="60" height="216" rx="4" fill="url(#groupGrad1)" filter="url(#cardShadow)"/>
<text x="200" y="342" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50" text-anchor="middle">
+ font-size="14" font-weight="600" fill="#0F172A" text-anchor="middle">
<tspan>120</tspan>
</text>
- <!-- Q1 产品线B: 85M (高度153px) -->
- <rect x="240" y="417" width="60" height="153" rx="4" fill="url(#groupGrad2)" filter="url(#groupShadow)"/>
+ <!-- Q1 Div B: 85M (Height 153px) -->
+ <rect x="240" y="417" width="60" height="153" rx="4" fill="url(#groupGrad2)" filter="url(#cardShadow)"/>
<text x="270" y="405" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50" text-anchor="middle">
+ font-size="14" font-weight="600" fill="#0F172A" text-anchor="middle">
<tspan>85</tspan>
</text>
- <!-- Q1 产品线C: 65M (高度117px) -->
- <rect x="310" y="453" width="60" height="117" rx="4" fill="url(#groupGrad3)" filter="url(#groupShadow)"/>
+ <!-- Q1 Div C: 65M (Height 117px) -->
+ <rect x="310" y="453" width="60" height="117" rx="4" fill="url(#groupGrad3)" filter="url(#cardShadow)"/>
<text x="340" y="441" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50" text-anchor="middle">
+ font-size="14" font-weight="600" fill="#0F172A" text-anchor="middle">
<tspan>65</tspan>
</text>
- <!-- Q1 标签 -->
- <text x="255" y="600" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="18" fill="#5D6D7E" text-anchor="middle">
+ <!-- Q1 Label -->
+ <text x="255" y="600" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="18" fill="#475569" text-anchor="middle">
<tspan>Q1</tspan>
</text>
- <!-- Q2 组 -->
- <!-- Q2 产品线A: 145M (高度261px) -->
- <rect x="430" y="309" width="60" height="261" rx="4" fill="url(#groupGrad1)" filter="url(#groupShadow)"/>
+ <!-- Q2 Group -->
+ <!-- Q2 Div A: 145M (Height 261px) -->
+ <rect x="430" y="309" width="60" height="261" rx="4" fill="url(#groupGrad1)" filter="url(#cardShadow)"/>
<text x="460" y="297" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50" text-anchor="middle">
+ font-size="14" font-weight="600" fill="#0F172A" text-anchor="middle">
<tspan>145</tspan>
</text>
- <!-- Q2 产品线B: 98M (高度176px) -->
- <rect x="500" y="394" width="60" height="176" rx="4" fill="url(#groupGrad2)" filter="url(#groupShadow)"/>
+ <!-- Q2 Div B: 98M (Height 176px) -->
+ <rect x="500" y="394" width="60" height="176" rx="4" fill="url(#groupGrad2)" filter="url(#cardShadow)"/>
<text x="530" y="382" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50" text-anchor="middle">
+ font-size="14" font-weight="600" fill="#0F172A" text-anchor="middle">
<tspan>98</tspan>
</text>
- <!-- Q2 产品线C: 78M (高度140px) -->
- <rect x="570" y="430" width="60" height="140" rx="4" fill="url(#groupGrad3)" filter="url(#groupShadow)"/>
+ <!-- Q2 Div C: 78M (Height 140px) -->
+ <rect x="570" y="430" width="60" height="140" rx="4" fill="url(#groupGrad3)" filter="url(#cardShadow)"/>
<text x="600" y="418" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50" text-anchor="middle">
+ font-size="14" font-weight="600" fill="#0F172A" text-anchor="middle">
<tspan>78</tspan>
</text>
- <!-- Q2 标签 -->
- <text x="515" y="600" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="18" fill="#5D6D7E" text-anchor="middle">
+ <!-- Q2 Label -->
+ <text x="515" y="600" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="18" fill="#475569" text-anchor="middle">
<tspan>Q2</tspan>
</text>
- <!-- Q3 组 -->
- <!-- Q3 产品线A: 168M (高度302px) -->
- <rect x="690" y="268" width="60" height="302" rx="4" fill="url(#groupGrad1)" filter="url(#groupShadow)"/>
+ <!-- Q3 Group -->
+ <!-- Q3 Div A: 168M (Height 302px) -->
+ <rect x="690" y="268" width="60" height="302" rx="4" fill="url(#groupGrad1)" filter="url(#cardShadow)"/>
<text x="720" y="256" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50" text-anchor="middle">
+ font-size="14" font-weight="600" fill="#0F172A" text-anchor="middle">
<tspan>168</tspan>
</text>
- <!-- Q3 产品线B: 112M (高度202px) -->
- <rect x="760" y="368" width="60" height="202" rx="4" fill="url(#groupGrad2)" filter="url(#groupShadow)"/>
+ <!-- Q3 Div B: 112M (Height 202px) -->
+ <rect x="760" y="368" width="60" height="202" rx="4" fill="url(#groupGrad2)" filter="url(#cardShadow)"/>
<text x="790" y="356" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50" text-anchor="middle">
+ font-size="14" font-weight="600" fill="#0F172A" text-anchor="middle">
<tspan>112</tspan>
</text>
- <!-- Q3 产品线C: 92M (高度166px) -->
- <rect x="830" y="404" width="60" height="166" rx="4" fill="url(#groupGrad3)" filter="url(#groupShadow)"/>
+ <!-- Q3 Div C: 92M (Height 166px) -->
+ <rect x="830" y="404" width="60" height="166" rx="4" fill="url(#groupGrad3)" filter="url(#cardShadow)"/>
<text x="860" y="392" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50" text-anchor="middle">
+ font-size="14" font-weight="600" fill="#0F172A" text-anchor="middle">
<tspan>92</tspan>
</text>
- <!-- Q3 标签 -->
- <text x="775" y="600" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="18" fill="#5D6D7E" text-anchor="middle">
+ <!-- Q3 Label -->
+ <text x="775" y="600" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="18" fill="#475569" text-anchor="middle">
<tspan>Q3</tspan>
</text>
- <!-- Q4 组 -->
- <!-- Q4 产品线A: 185M (高度333px) -->
- <rect x="950" y="237" width="60" height="333" rx="4" fill="url(#groupGrad1)" filter="url(#groupShadow)"/>
+ <!-- Q4 Group -->
+ <!-- Q4 Div A: 185M (Height 333px) -->
+ <rect x="950" y="237" width="60" height="333" rx="4" fill="url(#groupGrad1)" filter="url(#cardShadow)"/>
<text x="980" y="225" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50" text-anchor="middle">
+ font-size="14" font-weight="600" fill="#0F172A" text-anchor="middle">
<tspan>185</tspan>
</text>
- <!-- Q4 产品线B: 125M (高度225px) -->
- <rect x="1020" y="345" width="60" height="225" rx="4" fill="url(#groupGrad2)" filter="url(#groupShadow)"/>
+ <!-- Q4 Div B: 125M (Height 225px) -->
+ <rect x="1020" y="345" width="60" height="225" rx="4" fill="url(#groupGrad2)" filter="url(#cardShadow)"/>
<text x="1050" y="333" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50" text-anchor="middle">
+ font-size="14" font-weight="600" fill="#0F172A" text-anchor="middle">
<tspan>125</tspan>
</text>
- <!-- Q4 产品线C: 108M (高度194px) -->
- <rect x="1090" y="376" width="60" height="194" rx="4" fill="url(#groupGrad3)" filter="url(#groupShadow)"/>
+ <!-- Q4 Div C: 108M (Height 194px) -->
+ <rect x="1090" y="376" width="60" height="194" rx="4" fill="url(#groupGrad3)" filter="url(#cardShadow)"/>
<text x="1120" y="364" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50" text-anchor="middle">
+ font-size="14" font-weight="600" fill="#0F172A" text-anchor="middle">
<tspan>108</tspan>
</text>
- <!-- Q4 标签 -->
- <text x="1035" y="600" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="18" fill="#5D6D7E" text-anchor="middle">
+ <!-- Q4 Label -->
+ <text x="1035" y="600" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="18" fill="#475569" text-anchor="middle">
<tspan>Q4</tspan>
</text>
</g>
- <!-- 趋势总结卡片 -->
+ <!-- Trend Summary Card -->
<g id="summaryCard">
- <rect x="60" y="630" width="400" height="60" rx="8" fill="#F8F9FA" stroke="#E0E0E0" stroke-width="1"/>
- <text x="80" y="655" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#5D6D7E">
- <tspan>年度总计:</tspan>
+ <rect x="60" y="630" width="400" height="60" rx="8" fill="#F1F5F9" stroke="#E2E8F0" stroke-width="1"/>
+ <text x="80" y="665" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" font-weight="600" fill="#475569">
+ <tspan>FY Total:</tspan>
</text>
- <text x="160" y="655" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" font-weight="bold" fill="#2196F3">
+ <text x="150" y="665" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="16" font-weight="700" fill="#3B82F6">
<tspan>618M</tspan>
</text>
- <text x="220" y="655" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#5D6D7E">
+ <text x="200" y="665" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" fill="#94A3B8">
<tspan>|</tspan>
</text>
- <text x="240" y="655" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" font-weight="bold" fill="#4CAF50">
+ <text x="220" y="665" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="16" font-weight="700" fill="#10B981">
<tspan>420M</tspan>
</text>
- <text x="300" y="655" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#5D6D7E">
+ <text x="270" y="665" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" fill="#94A3B8">
<tspan>|</tspan>
</text>
- <text x="320" y="655" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" font-weight="bold" fill="#FF9800">
+ <text x="290" y="665" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="16" font-weight="700" fill="#F59E0B">
<tspan>343M</tspan>
</text>
- <text x="80" y="675" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="13" fill="#95A5A6">
- <tspan>同比增长: +15.2%</tspan>
+ <text x="80" y="645" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" font-weight="600" fill="#64748B">
+ <tspan>YoY Growth: +15.2%</tspan>
</text>
</g>
- <!-- 数据来源 -->
- <text x="1220" y="695" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#95A5A6" text-anchor="end">
- <tspan>数据来源: 销售部门</tspan>
+ <!-- Data Source -->
+ <text x="1220" y="695" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" fill="#94A3B8" text-anchor="end">
+ <tspan>Source: Internal Financials</tspan>
</text>
</svg>
-
diff --git a/skills/ppt-master/templates/charts/heatmap_chart.svg b/skills/ppt-master/templates/charts/heatmap_chart.svg
index dc8ab83b..4d5c9eef 100644
--- a/skills/ppt-master/templates/charts/heatmap_chart.svg
+++ b/skills/ppt-master/templates/charts/heatmap_chart.svg
@@ -1,214 +1,216 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="1280" height="720">
<!--
- 热力图模板
- 用途: 矩阵数据可视化、相关性分析
- 适用场景: 相关性矩阵、时间热力图、用户行为分析
- 支持: 7×7 矩阵格子
+ Heatmap Chart Template
+ Usage: Matrix data visualization, correlation analysis
+ Scenarios: Activity heatmaps, time-series analysis, user behavior
+ Supports: 7×7 or 7x8 matrix grid
-->
<defs>
- <!-- 热力图色阶(从蓝到红) -->
+ <!-- Heatmap Gradient Scale (Blue to Red) -->
<linearGradient id="heatGradient" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#1565C0"/>
- <stop offset="25%" style="stop-color:#42A5F5"/>
- <stop offset="50%" style="stop-color:#FFEB3B"/>
- <stop offset="75%" style="stop-color:#FF9800"/>
- <stop offset="100%" style="stop-color:#D32F2F"/>
+ <stop offset="0%" style="stop-color:#DBEAFE"/>
+ <stop offset="25%" style="stop-color:#93C5FD"/>
+ <stop offset="50%" style="stop-color:#FCD34D"/>
+ <stop offset="75%" style="stop-color:#F97316"/>
+ <stop offset="100%" style="stop-color:#DC2626"/>
</linearGradient>
+
+ <!-- Standard Shadow -->
+ <filter id="cardShadow" x="-15%" y="-15%" width="130%" height="130%">
+ <feGaussianBlur in="SourceAlpha" stdDeviation="4"/>
+ <feOffset dx="0" dy="2" result="offsetblur"/>
+ <feFlood flood-color="#0F172A" flood-opacity="0.1" result="shadowColor"/>
+ <feComposite in="shadowColor" in2="offsetblur" operator="in" result="shadow"/>
+ <feMerge><feMergeNode in="shadow"/><feMergeNode in="SourceGraphic"/></feMerge>
+ </filter>
</defs>
- <!-- 背景 -->
- <rect width="1280" height="720" fill="#FFFFFF"/>
+ <!-- Background -->
+ <rect width="1280" height="720" fill="#F8FAFC"/>
- <!-- 标题 -->
- <text x="60" y="55" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="32" font-weight="bold" fill="#2C3E50">
- <tspan>用户活跃度热力图</tspan>
+ <!-- Title -->
+ <text x="60" y="55" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="32" font-weight="700" fill="#0F172A">
+ <tspan>User Activity Heatmap Analysis</tspan>
</text>
- <text x="60" y="90" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="18" fill="#7F8C8D">
- <tspan>按星期和时段统计 · 数值代表平均在线用户数(千人)</tspan>
+ <text x="60" y="90" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="18" fill="#64748B">
+ <tspan>Active Users by Day and Time · Values in Thousands (K)</tspan>
</text>
- <!-- 热力图区域 -->
+ <!-- Heatmap Area -->
<g id="heatmapArea" transform="translate(180, 130)">
- <!--
- 格子大小: 80×60
- 列: 7列(周一到周日)
- 行: 8行(时段)
- 颜色映射: 0-100 -> 蓝到红
- -->
-
- <!-- 列标题(星期) -->
- <text x="40" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" font-weight="600" fill="#5D6D7E" text-anchor="middle"><tspan>周一</tspan></text>
- <text x="120" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" font-weight="600" fill="#5D6D7E" text-anchor="middle"><tspan>周二</tspan></text>
- <text x="200" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" font-weight="600" fill="#5D6D7E" text-anchor="middle"><tspan>周三</tspan></text>
- <text x="280" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" font-weight="600" fill="#5D6D7E" text-anchor="middle"><tspan>周四</tspan></text>
- <text x="360" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" font-weight="600" fill="#5D6D7E" text-anchor="middle"><tspan>周五</tspan></text>
- <text x="440" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" font-weight="600" fill="#E91E63" text-anchor="middle"><tspan>周六</tspan></text>
- <text x="520" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" font-weight="600" fill="#E91E63" text-anchor="middle"><tspan>周日</tspan></text>
-
- <!-- 行标题(时段) -->
+
+ <!-- Column Titles (Days) -->
+ <text x="40" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" font-weight="600" fill="#475569" text-anchor="middle"><tspan>Mon</tspan></text>
+ <text x="120" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" font-weight="600" fill="#475569" text-anchor="middle"><tspan>Tue</tspan></text>
+ <text x="200" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" font-weight="600" fill="#475569" text-anchor="middle"><tspan>Wed</tspan></text>
+ <text x="280" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" font-weight="600" fill="#475569" text-anchor="middle"><tspan>Thu</tspan></text>
+ <text x="360" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" font-weight="600" fill="#475569" text-anchor="middle"><tspan>Fri</tspan></text>
+ <text x="440" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" font-weight="600" fill="#EF4444" text-anchor="middle"><tspan>Sat</tspan></text>
+ <text x="520" y="-15" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" font-weight="600" fill="#EF4444" text-anchor="middle"><tspan>Sun</tspan></text>
+
+ <!-- Row Titles (Time) -->
<text x="-15" y="35" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#7F8C8D" text-anchor="end"><tspan>6-9时</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="end"><tspan>06:00 - 09:00</tspan></text>
<text x="-15" y="95" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#7F8C8D" text-anchor="end"><tspan>9-12时</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="end"><tspan>09:00 - 12:00</tspan></text>
<text x="-15" y="155" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#7F8C8D" text-anchor="end"><tspan>12-14时</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="end"><tspan>12:00 - 14:00</tspan></text>
<text x="-15" y="215" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#7F8C8D" text-anchor="end"><tspan>14-17时</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="end"><tspan>14:00 - 17:00</tspan></text>
<text x="-15" y="275" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#7F8C8D" text-anchor="end"><tspan>17-19时</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="end"><tspan>17:00 - 19:00</tspan></text>
<text x="-15" y="335" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#7F8C8D" text-anchor="end"><tspan>19-21时</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="end"><tspan>19:00 - 21:00</tspan></text>
<text x="-15" y="395" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#7F8C8D" text-anchor="end"><tspan>21-23时</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="end"><tspan>21:00 - 23:00</tspan></text>
<text x="-15" y="455" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="13" fill="#7F8C8D" text-anchor="end"><tspan>23-6时</tspan></text>
-
- <!-- 热力图格子 -->
- <!-- 第1行: 6-9时 -->
- <rect x="0" y="5" width="78" height="58" rx="4" fill="#64B5F6"/><text x="40" y="40" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>35</tspan></text>
- <rect x="80" y="5" width="78" height="58" rx="4" fill="#42A5F5"/><text x="120" y="40" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>42</tspan></text>
- <rect x="160" y="5" width="78" height="58" rx="4" fill="#42A5F5"/><text x="200" y="40" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>40</tspan></text>
- <rect x="240" y="5" width="78" height="58" rx="4" fill="#64B5F6"/><text x="280" y="40" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>38</tspan></text>
- <rect x="320" y="5" width="78" height="58" rx="4" fill="#90CAF9"/><text x="360" y="40" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>28</tspan></text>
- <rect x="400" y="5" width="78" height="58" rx="4" fill="#BBDEFB"/><text x="440" y="40" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>15</tspan></text>
- <rect x="480" y="5" width="78" height="58" rx="4" fill="#E3F2FD"/><text x="520" y="40" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>10</tspan></text>
-
- <!-- 第2行: 9-12时 -->
- <rect x="0" y="65" width="78" height="58" rx="4" fill="#FFF176"/><text x="40" y="100" font-size="13" fill="#F57F17" text-anchor="middle"><tspan>58</tspan></text>
- <rect x="80" y="65" width="78" height="58" rx="4" fill="#FFD54F"/><text x="120" y="100" font-size="13" fill="#F57F17" text-anchor="middle"><tspan>65</tspan></text>
- <rect x="160" y="65" width="78" height="58" rx="4" fill="#FFC107"/><text x="200" y="100" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>72</tspan></text>
- <rect x="240" y="65" width="78" height="58" rx="4" fill="#FFD54F"/><text x="280" y="100" font-size="13" fill="#F57F17" text-anchor="middle"><tspan>68</tspan></text>
- <rect x="320" y="65" width="78" height="58" rx="4" fill="#FFF176"/><text x="360" y="100" font-size="13" fill="#F57F17" text-anchor="middle"><tspan>55</tspan></text>
- <rect x="400" y="65" width="78" height="58" rx="4" fill="#42A5F5"/><text x="440" y="100" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>45</tspan></text>
- <rect x="480" y="65" width="78" height="58" rx="4" fill="#64B5F6"/><text x="520" y="100" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>38</tspan></text>
-
- <!-- 第3行: 12-14时 -->
- <rect x="0" y="125" width="78" height="58" rx="4" fill="#FFB74D"/><text x="40" y="160" font-size="13" fill="#E65100" text-anchor="middle"><tspan>75</tspan></text>
- <rect x="80" y="125" width="78" height="58" rx="4" fill="#FFA726"/><text x="120" y="160" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>82</tspan></text>
- <rect x="160" y="125" width="78" height="58" rx="4" fill="#FF9800"/><text x="200" y="160" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>88</tspan></text>
- <rect x="240" y="125" width="78" height="58" rx="4" fill="#FFA726"/><text x="280" y="160" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>80</tspan></text>
- <rect x="320" y="125" width="78" height="58" rx="4" fill="#FFB74D"/><text x="360" y="160" font-size="13" fill="#E65100" text-anchor="middle"><tspan>70</tspan></text>
- <rect x="400" y="125" width="78" height="58" rx="4" fill="#FFF176"/><text x="440" y="160" font-size="13" fill="#F57F17" text-anchor="middle"><tspan>60</tspan></text>
- <rect x="480" y="125" width="78" height="58" rx="4" fill="#FFD54F"/><text x="520" y="160" font-size="13" fill="#F57F17" text-anchor="middle"><tspan>65</tspan></text>
-
- <!-- 第4行: 14-17时 -->
- <rect x="0" y="185" width="78" height="58" rx="4" fill="#FFF176"/><text x="40" y="220" font-size="13" fill="#F57F17" text-anchor="middle"><tspan>55</tspan></text>
- <rect x="80" y="185" width="78" height="58" rx="4" fill="#FFD54F"/><text x="120" y="220" font-size="13" fill="#F57F17" text-anchor="middle"><tspan>62</tspan></text>
- <rect x="160" y="185" width="78" height="58" rx="4" fill="#FFD54F"/><text x="200" y="220" font-size="13" fill="#F57F17" text-anchor="middle"><tspan>68</tspan></text>
- <rect x="240" y="185" width="78" height="58" rx="4" fill="#FFF176"/><text x="280" y="220" font-size="13" fill="#F57F17" text-anchor="middle"><tspan>60</tspan></text>
- <rect x="320" y="185" width="78" height="58" rx="4" fill="#42A5F5"/><text x="360" y="220" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>48</tspan></text>
- <rect x="400" y="185" width="78" height="58" rx="4" fill="#FFB74D"/><text x="440" y="220" font-size="13" fill="#E65100" text-anchor="middle"><tspan>72</tspan></text>
- <rect x="480" y="185" width="78" height="58" rx="4" fill="#FFA726"/><text x="520" y="220" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>78</tspan></text>
-
- <!-- 第5行: 17-19时 -->
- <rect x="0" y="245" width="78" height="58" rx="4" fill="#64B5F6"/><text x="40" y="280" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>32</tspan></text>
- <rect x="80" y="245" width="78" height="58" rx="4" fill="#64B5F6"/><text x="120" y="280" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>35</tspan></text>
- <rect x="160" y="245" width="78" height="58" rx="4" fill="#64B5F6"/><text x="200" y="280" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>38</tspan></text>
- <rect x="240" y="245" width="78" height="58" rx="4" fill="#64B5F6"/><text x="280" y="280" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>35</tspan></text>
- <rect x="320" y="245" width="78" height="58" rx="4" fill="#90CAF9"/><text x="360" y="280" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>28</tspan></text>
- <rect x="400" y="245" width="78" height="58" rx="4" fill="#FFD54F"/><text x="440" y="280" font-size="13" fill="#F57F17" text-anchor="middle"><tspan>65</tspan></text>
- <rect x="480" y="245" width="78" height="58" rx="4" fill="#FFB74D"/><text x="520" y="280" font-size="13" fill="#E65100" text-anchor="middle"><tspan>70</tspan></text>
-
- <!-- 第6行: 19-21时 (高峰) -->
- <rect x="0" y="305" width="78" height="58" rx="4" fill="#FFA726"/><text x="40" y="340" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>78</tspan></text>
- <rect x="80" y="305" width="78" height="58" rx="4" fill="#FF9800"/><text x="120" y="340" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>85</tspan></text>
- <rect x="160" y="305" width="78" height="58" rx="4" fill="#FF9800"/><text x="200" y="340" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>88</tspan></text>
- <rect x="240" y="305" width="78" height="58" rx="4" fill="#FF9800"/><text x="280" y="340" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>86</tspan></text>
- <rect x="320" y="305" width="78" height="58" rx="4" fill="#FFA726"/><text x="360" y="340" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>80</tspan></text>
- <rect x="400" y="305" width="78" height="58" rx="4" fill="#EF5350"/><text x="440" y="340" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>95</tspan></text>
- <rect x="480" y="305" width="78" height="58" rx="4" fill="#D32F2F"/><text x="520" y="340" font-size="14" font-weight="bold" fill="#FFFFFF" text-anchor="middle"><tspan>98</tspan></text>
-
- <!-- 第7行: 21-23时 -->
- <rect x="0" y="365" width="78" height="58" rx="4" fill="#FFD54F"/><text x="40" y="400" font-size="13" fill="#F57F17" text-anchor="middle"><tspan>62</tspan></text>
- <rect x="80" y="365" width="78" height="58" rx="4" fill="#FFB74D"/><text x="120" y="400" font-size="13" fill="#E65100" text-anchor="middle"><tspan>70</tspan></text>
- <rect x="160" y="365" width="78" height="58" rx="4" fill="#FFB74D"/><text x="200" y="400" font-size="13" fill="#E65100" text-anchor="middle"><tspan>72</tspan></text>
- <rect x="240" y="365" width="78" height="58" rx="4" fill="#FFB74D"/><text x="280" y="400" font-size="13" fill="#E65100" text-anchor="middle"><tspan>68</tspan></text>
- <rect x="320" y="365" width="78" height="58" rx="4" fill="#FFD54F"/><text x="360" y="400" font-size="13" fill="#F57F17" text-anchor="middle"><tspan>65</tspan></text>
- <rect x="400" y="365" width="78" height="58" rx="4" fill="#FF9800"/><text x="440" y="400" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>85</tspan></text>
- <rect x="480" y="365" width="78" height="58" rx="4" fill="#FFA726"/><text x="520" y="400" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>82</tspan></text>
-
- <!-- 第8行: 23-6时 -->
- <rect x="0" y="425" width="78" height="58" rx="4" fill="#BBDEFB"/><text x="40" y="460" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>18</tspan></text>
- <rect x="80" y="425" width="78" height="58" rx="4" fill="#BBDEFB"/><text x="120" y="460" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>15</tspan></text>
- <rect x="160" y="425" width="78" height="58" rx="4" fill="#BBDEFB"/><text x="200" y="460" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>12</tspan></text>
- <rect x="240" y="425" width="78" height="58" rx="4" fill="#BBDEFB"/><text x="280" y="460" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>15</tspan></text>
- <rect x="320" y="425" width="78" height="58" rx="4" fill="#90CAF9"/><text x="360" y="460" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>22</tspan></text>
- <rect x="400" y="425" width="78" height="58" rx="4" fill="#64B5F6"/><text x="440" y="460" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>35</tspan></text>
- <rect x="480" y="425" width="78" height="58" rx="4" fill="#90CAF9"/><text x="520" y="460" font-size="13" fill="#1565C0" text-anchor="middle"><tspan>28</tspan></text>
+ font-size="13" fill="#64748B" text-anchor="end"><tspan>23:00 - 06:00</tspan></text>
+
+ <!-- Heatmap Cells -->
+ <!-- Row 1 -->
+ <rect x="0" y="5" width="78" height="58" rx="4" fill="#93C5FD"/><text x="40" y="40" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>35</tspan></text>
+ <rect x="80" y="5" width="78" height="58" rx="4" fill="#60A5FA"/><text x="120" y="40" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>42</tspan></text>
+ <rect x="160" y="5" width="78" height="58" rx="4" fill="#60A5FA"/><text x="200" y="40" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>40</tspan></text>
+ <rect x="240" y="5" width="78" height="58" rx="4" fill="#93C5FD"/><text x="280" y="40" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>38</tspan></text>
+ <rect x="320" y="5" width="78" height="58" rx="4" fill="#BFDBFE"/><text x="360" y="40" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>28</tspan></text>
+ <rect x="400" y="5" width="78" height="58" rx="4" fill="#DBEAFE"/><text x="440" y="40" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>15</tspan></text>
+ <rect x="480" y="5" width="78" height="58" rx="4" fill="#EFF6FF"/><text x="520" y="40" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>10</tspan></text>
+
+ <!-- Row 2 -->
+ <rect x="0" y="65" width="78" height="58" rx="4" fill="#FEF08A"/><text x="40" y="100" font-size="13" fill="#9A3412" text-anchor="middle"><tspan>58</tspan></text>
+ <rect x="80" y="65" width="78" height="58" rx="4" fill="#FCD34D"/><text x="120" y="100" font-size="13" fill="#9A3412" text-anchor="middle"><tspan>65</tspan></text>
+ <rect x="160" y="65" width="78" height="58" rx="4" fill="#FACC15"/><text x="200" y="100" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>72</tspan></text>
+ <rect x="240" y="65" width="78" height="58" rx="4" fill="#FCD34D"/><text x="280" y="100" font-size="13" fill="#9A3412" text-anchor="middle"><tspan>68</tspan></text>
+ <rect x="320" y="65" width="78" height="58" rx="4" fill="#FEF08A"/><text x="360" y="100" font-size="13" fill="#9A3412" text-anchor="middle"><tspan>55</tspan></text>
+ <rect x="400" y="65" width="78" height="58" rx="4" fill="#60A5FA"/><text x="440" y="100" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>45</tspan></text>
+ <rect x="480" y="65" width="78" height="58" rx="4" fill="#93C5FD"/><text x="520" y="100" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>38</tspan></text>
+
+ <!-- Row 3 -->
+ <rect x="0" y="125" width="78" height="58" rx="4" fill="#FDBA74"/><text x="40" y="160" font-size="13" fill="#7C2D12" text-anchor="middle"><tspan>75</tspan></text>
+ <rect x="80" y="125" width="78" height="58" rx="4" fill="#FB923C"/><text x="120" y="160" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>82</tspan></text>
+ <rect x="160" y="125" width="78" height="58" rx="4" fill="#F97316"/><text x="200" y="160" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>88</tspan></text>
+ <rect x="240" y="125" width="78" height="58" rx="4" fill="#FB923C"/><text x="280" y="160" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>80</tspan></text>
+ <rect x="320" y="125" width="78" height="58" rx="4" fill="#FDBA74"/><text x="360" y="160" font-size="13" fill="#7C2D12" text-anchor="middle"><tspan>70</tspan></text>
+ <rect x="400" y="125" width="78" height="58" rx="4" fill="#FEF08A"/><text x="440" y="160" font-size="13" fill="#9A3412" text-anchor="middle"><tspan>60</tspan></text>
+ <rect x="480" y="125" width="78" height="58" rx="4" fill="#FCD34D"/><text x="520" y="160" font-size="13" fill="#9A3412" text-anchor="middle"><tspan>65</tspan></text>
+
+ <!-- Row 4 -->
+ <rect x="0" y="185" width="78" height="58" rx="4" fill="#FEF08A"/><text x="40" y="220" font-size="13" fill="#9A3412" text-anchor="middle"><tspan>55</tspan></text>
+ <rect x="80" y="185" width="78" height="58" rx="4" fill="#FCD34D"/><text x="120" y="220" font-size="13" fill="#9A3412" text-anchor="middle"><tspan>62</tspan></text>
+ <rect x="160" y="185" width="78" height="58" rx="4" fill="#FCD34D"/><text x="200" y="220" font-size="13" fill="#9A3412" text-anchor="middle"><tspan>68</tspan></text>
+ <rect x="240" y="185" width="78" height="58" rx="4" fill="#FEF08A"/><text x="280" y="220" font-size="13" fill="#9A3412" text-anchor="middle"><tspan>60</tspan></text>
+ <rect x="320" y="185" width="78" height="58" rx="4" fill="#60A5FA"/><text x="360" y="220" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>48</tspan></text>
+ <rect x="400" y="185" width="78" height="58" rx="4" fill="#FDBA74"/><text x="440" y="220" font-size="13" fill="#7C2D12" text-anchor="middle"><tspan>72</tspan></text>
+ <rect x="480" y="185" width="78" height="58" rx="4" fill="#FB923C"/><text x="520" y="220" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>78</tspan></text>
+
+ <!-- Row 5 -->
+ <rect x="0" y="245" width="78" height="58" rx="4" fill="#93C5FD"/><text x="40" y="280" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>32</tspan></text>
+ <rect x="80" y="245" width="78" height="58" rx="4" fill="#93C5FD"/><text x="120" y="280" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>35</tspan></text>
+ <rect x="160" y="245" width="78" height="58" rx="4" fill="#93C5FD"/><text x="200" y="280" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>38</tspan></text>
+ <rect x="240" y="245" width="78" height="58" rx="4" fill="#93C5FD"/><text x="280" y="280" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>35</tspan></text>
+ <rect x="320" y="245" width="78" height="58" rx="4" fill="#BFDBFE"/><text x="360" y="280" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>28</tspan></text>
+ <rect x="400" y="245" width="78" height="58" rx="4" fill="#FCD34D"/><text x="440" y="280" font-size="13" fill="#9A3412" text-anchor="middle"><tspan>65</tspan></text>
+ <rect x="480" y="245" width="78" height="58" rx="4" fill="#FDBA74"/><text x="520" y="280" font-size="13" fill="#7C2D12" text-anchor="middle"><tspan>70</tspan></text>
+
+ <!-- Row 6 (Peak) -->
+ <rect x="0" y="305" width="78" height="58" rx="4" fill="#FB923C"/><text x="40" y="340" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>78</tspan></text>
+ <rect x="80" y="305" width="78" height="58" rx="4" fill="#F97316"/><text x="120" y="340" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>85</tspan></text>
+ <rect x="160" y="305" width="78" height="58" rx="4" fill="#F97316"/><text x="200" y="340" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>88</tspan></text>
+ <rect x="240" y="305" width="78" height="58" rx="4" fill="#F97316"/><text x="280" y="340" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>86</tspan></text>
+ <rect x="320" y="305" width="78" height="58" rx="4" fill="#FB923C"/><text x="360" y="340" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>80</tspan></text>
+ <rect x="400" y="305" width="78" height="58" rx="4" fill="#EF4444"/><text x="440" y="340" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>95</tspan></text>
+ <rect x="480" y="305" width="78" height="58" rx="4" fill="#DC2626"/><text x="520" y="340" font-size="14" font-weight="700" fill="#FFFFFF" text-anchor="middle"><tspan>98</tspan></text>
+
+ <!-- Row 7 -->
+ <rect x="0" y="365" width="78" height="58" rx="4" fill="#FCD34D"/><text x="40" y="400" font-size="13" fill="#9A3412" text-anchor="middle"><tspan>62</tspan></text>
+ <rect x="80" y="365" width="78" height="58" rx="4" fill="#FDBA74"/><text x="120" y="400" font-size="13" fill="#7C2D12" text-anchor="middle"><tspan>70</tspan></text>
+ <rect x="160" y="365" width="78" height="58" rx="4" fill="#FDBA74"/><text x="200" y="400" font-size="13" fill="#7C2D12" text-anchor="middle"><tspan>72</tspan></text>
+ <rect x="240" y="365" width="78" height="58" rx="4" fill="#FDBA74"/><text x="280" y="400" font-size="13" fill="#7C2D12" text-anchor="middle"><tspan>68</tspan></text>
+ <rect x="320" y="365" width="78" height="58" rx="4" fill="#FCD34D"/><text x="360" y="400" font-size="13" fill="#9A3412" text-anchor="middle"><tspan>65</tspan></text>
+ <rect x="400" y="365" width="78" height="58" rx="4" fill="#F97316"/><text x="440" y="400" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>85</tspan></text>
+ <rect x="480" y="365" width="78" height="58" rx="4" fill="#FB923C"/><text x="520" y="400" font-size="13" fill="#FFFFFF" text-anchor="middle"><tspan>82</tspan></text>
+
+ <!-- Row 8 -->
+ <rect x="0" y="425" width="78" height="58" rx="4" fill="#DBEAFE"/><text x="40" y="460" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>18</tspan></text>
+ <rect x="80" y="425" width="78" height="58" rx="4" fill="#DBEAFE"/><text x="120" y="460" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>15</tspan></text>
+ <rect x="160" y="425" width="78" height="58" rx="4" fill="#DBEAFE"/><text x="200" y="460" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>12</tspan></text>
+ <rect x="240" y="425" width="78" height="58" rx="4" fill="#DBEAFE"/><text x="280" y="460" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>15</tspan></text>
+ <rect x="320" y="425" width="78" height="58" rx="4" fill="#BFDBFE"/><text x="360" y="460" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>22</tspan></text>
+ <rect x="400" y="425" width="78" height="58" rx="4" fill="#93C5FD"/><text x="440" y="460" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>35</tspan></text>
+ <rect x="480" y="425" width="78" height="58" rx="4" fill="#BFDBFE"/><text x="520" y="460" font-size="13" fill="#1E3A8A" text-anchor="middle"><tspan>28</tspan></text>
</g>
- <!-- 色阶图例 -->
+ <!-- Color Legend -->
<g id="colorLegend" transform="translate(780, 150)">
- <text x="0" y="0" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50"><tspan>活跃度色阶</tspan></text>
+ <text x="0" y="0" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" font-weight="600" fill="#0F172A"><tspan>Activity Intensity</tspan></text>
- <rect x="0" y="15" width="200" height="20" rx="4" fill="url(#heatGradient)"/>
+ <rect x="0" y="15" width="240" height="20" rx="4" fill="url(#heatGradient)"/>
<text x="0" y="52" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#7F8C8D"><tspan>低 (0)</tspan></text>
- <text x="90" y="52" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#7F8C8D" text-anchor="middle"><tspan>中 (50)</tspan></text>
- <text x="200" y="52" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#7F8C8D" text-anchor="end"><tspan>高 (100)</tspan></text>
+ font-size="12" fill="#64748B"><tspan>Low (0)</tspan></text>
+ <text x="120" y="52" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" fill="#64748B" text-anchor="middle"><tspan>Med (50)</tspan></text>
+ <text x="240" y="52" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" fill="#64748B" text-anchor="end"><tspan>High (100)</tspan></text>
</g>
- <!-- 统计面板 -->
+ <!-- Stats Panel -->
<g id="statsPanel" transform="translate(780, 240)">
- <rect x="0" y="0" width="200" height="180" rx="8" fill="#F8F9FA" stroke="#E0E0E0" stroke-width="1"/>
+ <rect x="0" y="0" width="240" height="180" rx="8" fill="#F1F5F9" stroke="#E2E8F0" stroke-width="1" filter="url(#cardShadow)"/>
- <text x="100" y="28" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" font-weight="600" fill="#2C3E50" text-anchor="middle"><tspan>统计摘要</tspan></text>
+ <text x="120" y="28" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" font-weight="600" fill="#0F172A" text-anchor="middle"><tspan>Key Statistics</tspan></text>
- <line x1="15" y1="42" x2="185" y2="42" stroke="#E0E0E0" stroke-width="1"/>
+ <line x1="15" y1="42" x2="225" y2="42" stroke="#E2E8F0" stroke-width="1"/>
- <text x="20" y="68" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="13" fill="#5D6D7E"><tspan>🔥 峰值时段</tspan></text>
+ <text x="20" y="68" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" font-weight="600" fill="#475569"><tspan>🔥 Peak Time</tspan></text>
<text x="20" y="88" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#D32F2F"><tspan>周日 19-21时 (98K)</tspan></text>
+ font-size="12" fill="#DC2626"><tspan>Sun 19:00-21:00 (98K)</tspan></text>
- <text x="20" y="115" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="13" fill="#5D6D7E"><tspan>❄️ 低谷时段</tspan></text>
+ <text x="20" y="115" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" font-weight="600" fill="#475569"><tspan>❄️ Low Time</tspan></text>
<text x="20" y="135" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#1565C0"><tspan>周日 6-9时 (10K)</tspan></text>
+ font-size="12" fill="#2563EB"><tspan>Sun 06:00-09:00 (10K)</tspan></text>
- <text x="20" y="162" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="13" fill="#5D6D7E"><tspan>📊 日均在线</tspan></text>
- <text x="130" y="162" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" font-weight="bold" fill="#2C3E50"><tspan>54.2K</tspan></text>
+ <text x="20" y="162" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" font-weight="600" fill="#475569"><tspan>📊 Daily Avg</tspan></text>
+ <text x="140" y="162" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" font-weight="700" fill="#0F172A"><tspan>54.2K</tspan></text>
</g>
- <!-- 洞察卡片 -->
+ <!-- Insight Card -->
<g id="insightCard" transform="translate(780, 440)">
- <rect x="0" y="0" width="200" height="120" rx="8" fill="#E8F5E9" stroke="#4CAF50" stroke-width="1"/>
-
- <text x="20" y="28" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" font-weight="600" fill="#2E7D32"><tspan>💡 关键洞察</tspan></text>
-
- <text x="20" y="55" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="12" fill="#5D6D7E"><tspan>• 周末晚间活跃度最高</tspan></text>
- <text x="20" y="75" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="12" fill="#5D6D7E"><tspan>• 工作日午间有小高峰</tspan></text>
- <text x="20" y="95" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="12" fill="#5D6D7E"><tspan>• 凌晨时段流量最低</tspan></text>
- <text x="20" y="115" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="11" fill="#7F8C8D"><tspan>建议: 周末晚间增加服务器</tspan></text>
+ <rect x="0" y="0" width="240" height="120" rx="8" fill="#F0FDF4" stroke="#22C55E" stroke-width="1" filter="url(#cardShadow)"/>
+
+ <text x="20" y="28" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" font-weight="600" fill="#166534"><tspan>💡 Key Insights</tspan></text>
+
+ <text x="20" y="55" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" fill="#475569"><tspan>• Peak activity on weekend nights</tspan></text>
+ <text x="20" y="75" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" fill="#475569"><tspan>• Mid-day spikes on weekdays</tspan></text>
+ <text x="20" y="95" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" fill="#475569"><tspan>• Lowest traffic in early hours</tspan></text>
+ <text x="20" y="115" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="11" font-weight="600" fill="#64748B"><tspan>Action: Scale servers on weekends</tspan></text>
</g>
- <!-- 数据来源 -->
- <text x="60" y="695" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#95A5A6">
- <tspan>数据来源: 用户行为分析平台</tspan>
+ <!-- Data Source -->
+ <text x="60" y="695" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" fill="#94A3B8">
+ <tspan>Source: User Behavior Analytics Platform</tspan>
</text>
</svg>
-
diff --git a/skills/ppt-master/templates/charts/horizontal_bar_chart.svg b/skills/ppt-master/templates/charts/horizontal_bar_chart.svg
index f872ebb1..e1705949 100644
--- a/skills/ppt-master/templates/charts/horizontal_bar_chart.svg
+++ b/skills/ppt-master/templates/charts/horizontal_bar_chart.svg
@@ -1,213 +1,207 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="1280" height="720">
<!--
- 水平条形图模板
- 用途: 类别排名、数值对比(适合类别名称较长的场景)
- 适用场景: 销售排行榜、品牌认知度、满意度评分
- 支持: 8个条形(可调整为5-12个)
- 与柱状图区别: 水平展示,更适合排名和类别名较长的数据
+ Horizontal Bar Chart Template
+ Usage: Category ranking, value comparison (ideal for long category names)
+ Scenarios: Sales leaderboards, brand awareness, satisfaction scores
+ Supports: 8 bars (adjustable to 5-12)
-->
<defs>
- <!-- 条形渐变 -->
+ <!-- Bar Gradients (Lighter to darker) -->
<linearGradient id="hbarGrad1" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#2196F3;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#42A5F5;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#60A5FA;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#2563EB;stop-opacity:1" />
</linearGradient>
<linearGradient id="hbarGrad2" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#4CAF50;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#66BB6A;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#34D399;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#059669;stop-opacity:1" />
</linearGradient>
<linearGradient id="hbarGrad3" x1="0%" y1="0%" x2="100%" y2="0%">
- <stop offset="0%" style="stop-color:#FF9800;stop-opacity:1" />
- <stop offset="100%" style="stop-color:#FFB74D;stop-opacity:1" />
+ <stop offset="0%" style="stop-color:#FBBF24;stop-opacity:1" />
+ <stop offset="100%" style="stop-color:#D97706;stop-opacity:1" />
</linearGradient>
- <!-- 阴影 -->
- <filter id="hbarShadow">
+ <!-- Standard Bar Shadow -->
+ <filter id="barShadow" x="-5%" y="-20%" width="110%" height="140%">
<feGaussianBlur in="SourceAlpha" stdDeviation="2"/>
- <feOffset dx="1" dy="0"/>
- <feComponentTransfer>
- <feFuncA type="linear" slope="0.2"/>
- </feComponentTransfer>
- <feMerge>
- <feMergeNode/>
- <feMergeNode in="SourceGraphic"/>
- </feMerge>
+ <feOffset dx="0" dy="2" result="offsetblur"/>
+ <feFlood flood-color="#0F172A" flood-opacity="0.1" result="shadowColor"/>
+ <feComposite in="shadowColor" in2="offsetblur" operator="in" result="shadow"/>
+ <feMerge><feMergeNode in="shadow"/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
</defs>
- <!-- 背景 -->
- <rect width="1280" height="720" fill="#FFFFFF"/>
+ <!-- Background -->
+ <rect width="1280" height="720" fill="#F8FAFC"/>
- <!-- 标题 -->
- <text x="60" y="70" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="32" font-weight="bold" fill="#2C3E50">
- <tspan>品牌认知度排行榜</tspan>
+ <!-- Title -->
+ <text x="60" y="70" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="32" font-weight="700" fill="#0F172A">
+ <tspan>Brand Awareness Rankings</tspan>
</text>
- <text x="60" y="105" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="18" fill="#7F8C8D">
- <tspan>2025年消费者调研报告 · 样本量 N=5,000</tspan>
+ <text x="60" y="105" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="18" fill="#64748B">
+ <tspan>2025 Consumer Survey Report · Sample Size N=5,000</tspan>
</text>
- <!-- 图表区域 -->
+ <!-- Chart Area -->
<g id="chartArea">
- <!-- X轴网格线 -->
- <line x1="300" y1="140" x2="300" y2="620" stroke="#E0E0E0" stroke-width="1" stroke-dasharray="4,4"/>
- <line x1="480" y1="140" x2="480" y2="620" stroke="#E0E0E0" stroke-width="1" stroke-dasharray="4,4"/>
- <line x1="660" y1="140" x2="660" y2="620" stroke="#E0E0E0" stroke-width="1" stroke-dasharray="4,4"/>
- <line x1="840" y1="140" x2="840" y2="620" stroke="#E0E0E0" stroke-width="1" stroke-dasharray="4,4"/>
- <line x1="1020" y1="140" x2="1020" y2="620" stroke="#E0E0E0" stroke-width="1" stroke-dasharray="4,4"/>
- <line x1="1200" y1="140" x2="1200" y2="620" stroke="#E0E0E0" stroke-width="1" stroke-dasharray="4,4"/>
-
- <!-- X轴刻度标签 -->
+ <!-- X-Axis Grid Lines -->
+ <line x1="300" y1="140" x2="300" y2="620" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+ <line x1="480" y1="140" x2="480" y2="620" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+ <line x1="660" y1="140" x2="660" y2="620" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+ <line x1="840" y1="140" x2="840" y2="620" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+ <line x1="1020" y1="140" x2="1020" y2="620" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+ <line x1="1200" y1="140" x2="1200" y2="620" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="4,4"/>
+
+ <!-- X-Axis Tick Labels -->
<text x="300" y="650" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle">
+ font-size="14" fill="#64748B" text-anchor="middle">
<tspan>0%</tspan>
</text>
<text x="480" y="650" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle">
+ font-size="14" fill="#64748B" text-anchor="middle">
<tspan>20%</tspan>
</text>
<text x="660" y="650" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle">
+ font-size="14" fill="#64748B" text-anchor="middle">
<tspan>40%</tspan>
</text>
<text x="840" y="650" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle">
+ font-size="14" fill="#64748B" text-anchor="middle">
<tspan>60%</tspan>
</text>
<text x="1020" y="650" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle">
+ font-size="14" fill="#64748B" text-anchor="middle">
<tspan>80%</tspan>
</text>
<text x="1200" y="650" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="14" fill="#7F8C8D" text-anchor="middle">
+ font-size="14" fill="#64748B" text-anchor="middle">
<tspan>100%</tspan>
</text>
- <!-- Y轴基线 -->
- <line x1="300" y1="140" x2="300" y2="620" stroke="#95A5A6" stroke-width="2"/>
- <line x1="300" y1="620" x2="1200" y2="620" stroke="#95A5A6" stroke-width="2"/>
+ <!-- Y-Axis Baseline -->
+ <line x1="300" y1="140" x2="300" y2="620" stroke="#94A3B8" stroke-width="2"/>
+ <line x1="300" y1="620" x2="1200" y2="620" stroke="#94A3B8" stroke-width="2"/>
- <!-- 条形数据 (条高36px, 间距24px, 总间距60px) -->
+ <!-- Bar Data (Height 36px, Spacing 24px, Total 60px) -->
- <!-- 条形1: 品牌A - 92% (第1名,蓝色) -->
- <text x="290" y="175" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="16" fill="#2C3E50" text-anchor="end">
- <tspan>品牌A (市场领导者)</tspan>
+ <!-- Bar 1: Brand A - 92% (Rank 1, Blue) -->
+ <text x="290" y="178" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="500" fill="#475569" text-anchor="end">
+ <tspan>Brand A (Market Leader)</tspan>
</text>
- <rect x="300" y="155" width="828" height="36" rx="4" fill="url(#hbarGrad1)" filter="url(#hbarShadow)"/>
+ <rect x="300" y="155" width="828" height="36" rx="4" fill="url(#hbarGrad1)" filter="url(#barShadow)"/>
<text x="1138" y="179" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" font-weight="600" fill="#2C3E50">
+ font-size="16" font-weight="700" fill="#0F172A">
<tspan>92%</tspan>
</text>
- <!-- 条形2: 品牌B - 78% (第2名,蓝色) -->
- <text x="290" y="235" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="16" fill="#2C3E50" text-anchor="end">
- <tspan>品牌B (新锐品牌)</tspan>
+ <!-- Bar 2: Brand B - 78% (Rank 2, Blue) -->
+ <text x="290" y="238" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="500" fill="#475569" text-anchor="end">
+ <tspan>Brand B (Emerging Challenger)</tspan>
</text>
- <rect x="300" y="215" width="702" height="36" rx="4" fill="url(#hbarGrad1)" filter="url(#hbarShadow)"/>
+ <rect x="300" y="215" width="702" height="36" rx="4" fill="url(#hbarGrad1)" filter="url(#barShadow)"/>
<text x="1012" y="239" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" font-weight="600" fill="#2C3E50">
+ font-size="16" font-weight="700" fill="#0F172A">
<tspan>78%</tspan>
</text>
- <!-- 条形3: 品牌C - 65% (第3名,蓝色) -->
- <text x="290" y="295" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="16" fill="#2C3E50" text-anchor="end">
- <tspan>品牌C (经典品牌)</tspan>
+ <!-- Bar 3: Brand C - 65% (Rank 3, Blue) -->
+ <text x="290" y="298" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="500" fill="#475569" text-anchor="end">
+ <tspan>Brand C (Legacy Brand)</tspan>
</text>
- <rect x="300" y="275" width="585" height="36" rx="4" fill="url(#hbarGrad1)" filter="url(#hbarShadow)"/>
+ <rect x="300" y="275" width="585" height="36" rx="4" fill="url(#hbarGrad1)" filter="url(#barShadow)"/>
<text x="895" y="299" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" font-weight="600" fill="#2C3E50">
+ font-size="16" font-weight="700" fill="#0F172A">
<tspan>65%</tspan>
</text>
- <!-- 条形4: 品牌D - 52% (第4名,绿色) -->
- <text x="290" y="355" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="16" fill="#2C3E50" text-anchor="end">
- <tspan>品牌D (区域品牌)</tspan>
+ <!-- Bar 4: Brand D - 52% (Rank 4, Green) -->
+ <text x="290" y="358" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="500" fill="#475569" text-anchor="end">
+ <tspan>Brand D (Regional Player)</tspan>
</text>
- <rect x="300" y="335" width="468" height="36" rx="4" fill="url(#hbarGrad2)" filter="url(#hbarShadow)"/>
+ <rect x="300" y="335" width="468" height="36" rx="4" fill="url(#hbarGrad2)" filter="url(#barShadow)"/>
<text x="778" y="359" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" font-weight="600" fill="#2C3E50">
+ font-size="16" font-weight="700" fill="#0F172A">
<tspan>52%</tspan>
</text>
- <!-- 条形5: 品牌E - 45% (第5名,绿色) -->
- <text x="290" y="415" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="16" fill="#2C3E50" text-anchor="end">
- <tspan>品牌E (性价比品牌)</tspan>
+ <!-- Bar 5: Brand E - 45% (Rank 5, Green) -->
+ <text x="290" y="418" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="500" fill="#475569" text-anchor="end">
+ <tspan>Brand E (Value Choice)</tspan>
</text>
- <rect x="300" y="395" width="405" height="36" rx="4" fill="url(#hbarGrad2)" filter="url(#hbarShadow)"/>
+ <rect x="300" y="395" width="405" height="36" rx="4" fill="url(#hbarGrad2)" filter="url(#barShadow)"/>
<text x="715" y="419" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" font-weight="600" fill="#2C3E50">
+ font-size="16" font-weight="700" fill="#0F172A">
<tspan>45%</tspan>
</text>
- <!-- 条形6: 品牌F - 38% (第6名,绿色) -->
- <text x="290" y="475" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="16" fill="#2C3E50" text-anchor="end">
- <tspan>品牌F (高端品牌)</tspan>
+ <!-- Bar 6: Brand F - 38% (Rank 6, Green) -->
+ <text x="290" y="478" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="500" fill="#475569" text-anchor="end">
+ <tspan>Brand F (Premium Tier)</tspan>
</text>
- <rect x="300" y="455" width="342" height="36" rx="4" fill="url(#hbarGrad2)" filter="url(#hbarShadow)"/>
+ <rect x="300" y="455" width="342" height="36" rx="4" fill="url(#hbarGrad2)" filter="url(#barShadow)"/>
<text x="652" y="479" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" font-weight="600" fill="#2C3E50">
+ font-size="16" font-weight="700" fill="#0F172A">
<tspan>38%</tspan>
</text>
- <!-- 条形7: 品牌G - 25% (第7名,橙色) -->
- <text x="290" y="535" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="16" fill="#2C3E50" text-anchor="end">
- <tspan>品牌G (新进入者)</tspan>
+ <!-- Bar 7: Brand G - 25% (Rank 7, Amber) -->
+ <text x="290" y="538" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="500" fill="#475569" text-anchor="end">
+ <tspan>Brand G (New Entrant)</tspan>
</text>
- <rect x="300" y="515" width="225" height="36" rx="4" fill="url(#hbarGrad3)" filter="url(#hbarShadow)"/>
+ <rect x="300" y="515" width="225" height="36" rx="4" fill="url(#hbarGrad3)" filter="url(#barShadow)"/>
<text x="535" y="539" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" font-weight="600" fill="#2C3E50">
+ font-size="16" font-weight="700" fill="#0F172A">
<tspan>25%</tspan>
</text>
- <!-- 条形8: 其他 - 12% (第8名,橙色) -->
- <text x="290" y="595" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="16" fill="#2C3E50" text-anchor="end">
- <tspan>其他品牌</tspan>
+ <!-- Bar 8: Other - 12% (Rank 8, Amber) -->
+ <text x="290" y="598" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="500" fill="#475569" text-anchor="end">
+ <tspan>Other Brands</tspan>
</text>
- <rect x="300" y="575" width="108" height="36" rx="4" fill="url(#hbarGrad3)" filter="url(#hbarShadow)"/>
+ <rect x="300" y="575" width="108" height="36" rx="4" fill="url(#hbarGrad3)" filter="url(#barShadow)"/>
<text x="418" y="599" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="16" font-weight="600" fill="#2C3E50">
+ font-size="16" font-weight="700" fill="#0F172A">
<tspan>12%</tspan>
</text>
</g>
- <!-- 图例 -->
+ <!-- Legend -->
<g id="legend">
<rect x="60" y="660" width="16" height="16" rx="2" fill="url(#hbarGrad1)"/>
- <text x="85" y="673" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#5D6D7E">
- <tspan>高认知度 (≥50%)</tspan>
+ <text x="85" y="673" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" fill="#64748B">
+ <tspan>High Awareness (≥50%)</tspan>
</text>
- <rect x="240" y="660" width="16" height="16" rx="2" fill="url(#hbarGrad2)"/>
- <text x="265" y="673" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#5D6D7E">
- <tspan>中等认知度 (30-50%)</tspan>
+ <rect x="270" y="660" width="16" height="16" rx="2" fill="url(#hbarGrad2)"/>
+ <text x="295" y="673" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" fill="#64748B">
+ <tspan>Moderate Awareness (30-50%)</tspan>
</text>
- <rect x="450" y="660" width="16" height="16" rx="2" fill="url(#hbarGrad3)"/>
- <text x="475" y="673" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#5D6D7E">
- <tspan>低认知度 (&lt;30%)</tspan>
+ <rect x="520" y="660" width="16" height="16" rx="2" fill="url(#hbarGrad3)"/>
+ <text x="545" y="673" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" fill="#64748B">
+ <tspan>Low Awareness (&lt;30%)</tspan>
</text>
</g>
- <!-- 数据来源 -->
- <text x="1220" y="695" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif"
- font-size="14" fill="#95A5A6" text-anchor="end">
- <tspan>数据来源: 市场研究部门</tspan>
+ <!-- Data Source -->
+ <text x="1220" y="695" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" fill="#94A3B8" text-anchor="end">
+ <tspan>Source: Market Research Department</tspan>
</text>
</svg>
-
diff --git a/skills/ppt-master/templates/charts/hub_spoke.svg b/skills/ppt-master/templates/charts/hub_spoke.svg
index 0938cd30..aaf95ceb 100644
--- a/skills/ppt-master/templates/charts/hub_spoke.svg
+++ b/skills/ppt-master/templates/charts/hub_spoke.svg
@@ -1,177 +1,222 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="1280" height="720">
<!--
- 中心辐射图模板 (Hub & Spoke)
- 用途: 中心主题与外围要素关系、核心-卫星结构
- 适用场景: 核心能力与支撑要素、平台生态、核心产品与衍生服务
- 支持: 1中心+6外围 (推荐4-8个)
+ Hub & Spoke Chart Template
+ Usage: Central theme and peripheral elements
+ Scenarios: Core capabilities, platform ecosystem, product suites
+ Supports: 1 Hub + 6 Spokes
-->
<defs>
+ <!-- Hub Gradients -->
<linearGradient id="hubGrad" x1="0%" y1="0%" x2="100%" y2="100%">
- <stop offset="0%" stop-color="#6366F1"/>
- <stop offset="100%" stop-color="#4338CA"/>
+ <stop offset="0%" stop-color="#3B82F6"/> <!-- Blue 500 -->
+ <stop offset="50%" stop-color="#6366F1"/> <!-- Indigo 500 -->
+ <stop offset="100%" stop-color="#8B5CF6"/> <!-- Violet 500 -->
</linearGradient>
- <radialGradient id="bgGlow" cx="50%" cy="55%" r="42%">
- <stop offset="0%" stop-color="#EEF2FF" stop-opacity="0.7"/>
- <stop offset="100%" stop-color="#FFFFFF" stop-opacity="0"/>
+
+ <!-- Background radial glow -->
+ <radialGradient id="bgGlow" cx="50%" cy="50%" r="50%">
+ <stop offset="0%" stop-color="#EEF2FF" stop-opacity="0.8"/>
+ <stop offset="60%" stop-color="#F8FAFC" stop-opacity="0.4"/>
+ <stop offset="100%" stop-color="#F8FAFC" stop-opacity="0"/>
</radialGradient>
- <filter id="cardShadow" x="-10%" y="-20%" width="120%" height="150%">
- <feGaussianBlur in="SourceAlpha" stdDeviation="3"/>
- <feOffset dx="0" dy="2"/>
- <feComponentTransfer><feFuncA type="linear" slope="0.08"/></feComponentTransfer>
- <feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>
+
+ <!-- Standard Drop Shadow -->
+ <filter id="cardShadow" x="-15%" y="-15%" width="130%" height="130%">
+ <feGaussianBlur in="SourceAlpha" stdDeviation="5"/>
+ <feOffset dx="0" dy="4" result="offsetblur"/>
+ <feFlood flood-color="#0F172A" flood-opacity="0.08" result="shadowColor"/>
+ <feComposite in="shadowColor" in2="offsetblur" operator="in" result="shadow"/>
+ <feMerge><feMergeNode in="shadow"/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
- <filter id="hubShadow" x="-30%" y="-30%" width="160%" height="160%">
- <feGaussianBlur in="SourceAlpha" stdDeviation="8"/>
- <feOffset dx="0" dy="4"/>
- <feComponentTransfer><feFuncA type="linear" slope="0.18"/></feComponentTransfer>
- <feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>
+
+ <!-- Hub Glow -->
+ <filter id="hubGlow" x="-30%" y="-30%" width="160%" height="160%">
+ <feGaussianBlur in="SourceAlpha" stdDeviation="12"/>
+ <feOffset dx="0" dy="0" result="offsetblur"/>
+ <feFlood flood-color="#6366F1" flood-opacity="0.4" result="shadowColor"/>
+ <feComposite in="shadowColor" in2="offsetblur" operator="in" result="shadow"/>
+ <feMerge><feMergeNode in="shadow"/><feMergeNode in="SourceGraphic"/></feMerge>
</filter>
</defs>
- <!-- 背景 + 中心氛围 -->
- <rect width="1280" height="720" fill="#FFFFFF"/>
- <circle cx="640" cy="380" r="320" fill="url(#bgGlow)"/>
+ <!-- Background -->
+ <rect width="1280" height="720" fill="#F8FAFC"/>
+
+ <!-- Background Decor -->
+ <circle cx="640" cy="380" r="450" fill="url(#bgGlow)"/>
+ <circle cx="640" cy="380" r="160" fill="none" stroke="#E2E8F0" stroke-width="1"/>
+ <circle cx="640" cy="380" r="260" fill="none" stroke="#E2E8F0" stroke-width="1.5" stroke-dasharray="6 6"/>
+ <circle cx="640" cy="380" r="360" fill="none" stroke="#E2E8F0" stroke-width="1" stroke-dasharray="2 4"/>
- <!-- 标题 -->
- <text x="640" y="52" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="28" font-weight="700" fill="#0F172A">智慧企业能力中台</text>
- <text x="640" y="78" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" font-weight="500" fill="#64748B" letter-spacing="3">HUB &amp; SPOKE · CORE PLATFORM</text>
+ <!-- Title -->
+ <text x="640" y="55" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="34" font-weight="800" fill="#0F172A">Enterprise Platform Architecture</text>
+ <text x="640" y="85" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" font-weight="600" fill="#64748B" letter-spacing="2">HUB &amp; SPOKE · CORE CAPABILITIES</text>
- <!-- 连接线: 从中心 (640,380) r=75 边缘到6张卡片的内侧锚点 -->
- <g stroke-width="1.5" stroke-linecap="round" fill="none">
- <!-- 上 -->
- <line x1="640" y1="305" x2="640" y2="176" stroke="#4F46E5" stroke-opacity="0.35"/>
- <!-- 右上 -->
- <line x1="697.6" y1="332" x2="820" y2="230" stroke="#0EA5E9" stroke-opacity="0.35"/>
- <!-- 右下 -->
- <line x1="697.6" y1="428" x2="820" y2="530" stroke="#4F46E5" stroke-opacity="0.35"/>
- <!-- 下 -->
- <line x1="640" y1="455" x2="640" y2="584" stroke="#0EA5E9" stroke-opacity="0.35"/>
- <!-- 左下 -->
- <line x1="582.4" y1="428" x2="460" y2="530" stroke="#4F46E5" stroke-opacity="0.35"/>
- <!-- 左上 -->
- <line x1="582.4" y1="332" x2="460" y2="230" stroke="#0EA5E9" stroke-opacity="0.35"/>
+ <!-- Data Pipelines (Connections) -->
+ <g stroke-linecap="round">
+ <!-- 1. Top (Blue) -->
+ <line x1="640" y1="380" x2="640" y2="120" stroke="#E2E8F0" stroke-width="2"/>
+ <line x1="640" y1="380" x2="640" y2="120" stroke="#3B82F6" stroke-width="2" stroke-dasharray="6 8" opacity="0.8"/>
+
+ <!-- 2. Top Right (Sky) -->
+ <line x1="640" y1="380" x2="870" y2="230" stroke="#E2E8F0" stroke-width="2"/>
+ <line x1="640" y1="380" x2="870" y2="230" stroke="#0EA5E9" stroke-width="2" stroke-dasharray="6 8" opacity="0.8"/>
+
+ <!-- 3. Bottom Right (Indigo) -->
+ <line x1="640" y1="380" x2="870" y2="530" stroke="#E2E8F0" stroke-width="2"/>
+ <line x1="640" y1="380" x2="870" y2="530" stroke="#6366F1" stroke-width="2" stroke-dasharray="6 8" opacity="0.8"/>
+
+ <!-- 4. Bottom (Blue) -->
+ <line x1="640" y1="380" x2="640" y2="640" stroke="#E2E8F0" stroke-width="2"/>
+ <line x1="640" y1="380" x2="640" y2="640" stroke="#3B82F6" stroke-width="2" stroke-dasharray="6 8" opacity="0.8"/>
+
+ <!-- 5. Bottom Left (Sky) -->
+ <line x1="640" y1="380" x2="410" y2="530" stroke="#E2E8F0" stroke-width="2"/>
+ <line x1="640" y1="380" x2="410" y2="530" stroke="#0EA5E9" stroke-width="2" stroke-dasharray="6 8" opacity="0.8"/>
+
+ <!-- 6. Top Left (Indigo) -->
+ <line x1="640" y1="380" x2="410" y2="230" stroke="#E2E8F0" stroke-width="2"/>
+ <line x1="640" y1="380" x2="410" y2="230" stroke="#6366F1" stroke-width="2" stroke-dasharray="6 8" opacity="0.8"/>
</g>
- <!-- 中心 Hub -->
- <g filter="url(#hubShadow)">
- <circle cx="640" cy="380" r="75" fill="url(#hubGrad)"/>
- </g>
- <circle cx="640" cy="380" r="62" fill="none" stroke="#FFFFFF" stroke-width="1" stroke-opacity="0.28"/>
- <text x="640" y="372" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="20" font-weight="700" fill="#FFFFFF" letter-spacing="2">智慧</text>
- <text x="640" y="400" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="20" font-weight="700" fill="#FFFFFF" letter-spacing="2">中台</text>
- <circle cx="624" cy="420" r="1.6" fill="#FFFFFF" fill-opacity="0.7"/>
- <circle cx="640" cy="420" r="1.6" fill="#FFFFFF" fill-opacity="0.7"/>
- <circle cx="656" cy="420" r="1.6" fill="#FFFFFF" fill-opacity="0.7"/>
+ <!-- Center Hub -->
+ <!-- Outer Glow -->
+ <circle cx="640" cy="380" r="85" fill="url(#hubGrad)" filter="url(#hubGlow)" opacity="0.8"/>
+ <circle cx="640" cy="380" r="80" fill="url(#hubGrad)"/>
+ <circle cx="640" cy="380" r="68" fill="none" stroke="#FFFFFF" stroke-width="1.5" opacity="0.4"/>
+ <circle cx="640" cy="380" r="62" fill="none" stroke="#FFFFFF" stroke-width="1" stroke-dasharray="2 4" opacity="0.3"/>
+
+ <text x="640" y="375" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="24" font-weight="800" fill="#FFFFFF" letter-spacing="1">CORE</text>
+ <text x="640" y="405" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="13" font-weight="600" fill="#E0E7FF" letter-spacing="3">SYSTEM</text>
+
+ <circle cx="616" cy="428" r="2" fill="#FFFFFF" opacity="0.8"/>
+ <circle cx="640" cy="428" r="2.5" fill="#FFFFFF" opacity="0.9"/>
+ <circle cx="664" cy="428" r="2" fill="#FFFFFF" opacity="0.8"/>
- <!-- ===== Spoke 1: 数据能力 (正上) - indigo ===== -->
+ <!-- ===== Spoke 1: Data Architecture (Top) - Blue ===== -->
+ <!-- Center: 640, 120 -->
<g filter="url(#cardShadow)">
- <rect x="540" y="104" width="200" height="72" rx="14" fill="#FFFFFF"/>
+ <rect x="520" y="80" width="240" height="80" rx="12" fill="#FFFFFF" stroke="#E2E8F0" stroke-width="1"/>
</g>
- <rect x="540" y="118" width="3" height="44" fill="#4F46E5" rx="1.5"/>
- <rect x="558" y="122" width="36" height="36" rx="10" fill="#EEF2FF"/>
- <g stroke="#4F46E5" stroke-width="1.6" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <ellipse cx="576" cy="131" rx="9" ry="3"/>
- <path d="M 567 131 V 149 C 567 150.66 571.03 152 576 152 C 580.97 152 585 150.66 585 149 V 131"/>
- <path d="M 567 140 C 567 141.66 571.03 143 576 143 C 580.97 143 585 141.66 585 140"/>
+ <rect x="520" y="104" width="4" height="32" rx="2" fill="#3B82F6"/>
+
+ <rect x="540" y="100" width="40" height="40" rx="10" fill="#EFF6FF"/>
+ <g stroke="#3B82F6" stroke-width="1.8" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <ellipse cx="560" cy="112" rx="8" ry="3"/>
+ <path d="M 552 112 V 124 C 552 125.66 555.58 127 560 127 C 564.42 127 568 125.66 568 124 V 112"/>
+ <path d="M 552 118 C 552 119.66 555.58 121 560 121 C 564.42 121 568 119.66 568 118"/>
</g>
- <text x="606" y="135" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" font-weight="700" fill="#0F172A">数据能力</text>
- <text x="606" y="156" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" fill="#64748B">数据湖 + 实时分析</text>
+
+ <text x="596" y="118" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="700" fill="#0F172A">Data Architecture</text>
+ <text x="596" y="140" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="500" fill="#64748B">Data Lake &amp; Analytics</text>
- <!-- ===== Spoke 2: AI 引擎 (右上) - teal ===== -->
+ <!-- ===== Spoke 2: AI Engine (Top Right) - Sky ===== -->
+ <!-- Center: 870, 230 -->
<g filter="url(#cardShadow)">
- <rect x="820" y="194" width="200" height="72" rx="14" fill="#FFFFFF"/>
+ <rect x="750" y="190" width="240" height="80" rx="12" fill="#FFFFFF" stroke="#E2E8F0" stroke-width="1"/>
</g>
- <rect x="820" y="208" width="3" height="44" fill="#0EA5E9" rx="1.5"/>
- <rect x="838" y="212" width="36" height="36" rx="10" fill="#E0F2FE"/>
- <g stroke="#0EA5E9" stroke-width="1.6" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path d="M 854 220 L 856 228 L 864 230 L 856 232 L 854 240 L 852 232 L 844 230 L 852 228 Z"/>
- <path d="M 863 219 L 864 222 L 867 223 L 864 224 L 863 227 L 862 224 L 859 223 L 862 222 Z"/>
+ <rect x="750" y="214" width="4" height="32" rx="2" fill="#0EA5E9"/>
+
+ <rect x="770" y="210" width="40" height="40" rx="10" fill="#E0F2FE"/>
+ <g stroke="#0EA5E9" stroke-width="1.8" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path d="M 790 218 L 792 226 L 800 228 L 792 230 L 790 238 L 788 230 L 780 228 L 788 226 Z"/>
+ <path d="M 799 217 L 800 220 L 803 221 L 800 222 L 799 225 L 798 222 L 795 221 L 798 220 Z"/>
</g>
- <text x="886" y="225" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" font-weight="700" fill="#0F172A">AI 引擎</text>
- <text x="886" y="246" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" fill="#64748B">模型训练 + 推理服务</text>
+
+ <text x="826" y="228" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="700" fill="#0F172A">AI Engine</text>
+ <text x="826" y="250" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="500" fill="#64748B">Model Training &amp; Inference</text>
- <!-- ===== Spoke 3: 业务引擎 (右下) - indigo ===== -->
+ <!-- ===== Spoke 3: Business Logic (Bottom Right) - Indigo ===== -->
+ <!-- Center: 870, 530 -->
<g filter="url(#cardShadow)">
- <rect x="820" y="494" width="200" height="72" rx="14" fill="#FFFFFF"/>
+ <rect x="750" y="490" width="240" height="80" rx="12" fill="#FFFFFF" stroke="#E2E8F0" stroke-width="1"/>
</g>
- <rect x="820" y="508" width="3" height="44" fill="#4F46E5" rx="1.5"/>
- <rect x="838" y="512" width="36" height="36" rx="10" fill="#EEF2FF"/>
- <g stroke="#4F46E5" stroke-width="1.6" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <circle cx="856" cy="530" r="6.5"/>
- <circle cx="856" cy="530" r="2"/>
- <line x1="856" y1="519" x2="856" y2="522.5"/>
- <line x1="856" y1="537.5" x2="856" y2="541"/>
- <line x1="845" y1="530" x2="848.5" y2="530"/>
- <line x1="863.5" y1="530" x2="867" y2="530"/>
- <line x1="848.2" y1="522.2" x2="850.7" y2="524.7"/>
- <line x1="861.3" y1="535.3" x2="863.8" y2="537.8"/>
- <line x1="848.2" y1="537.8" x2="850.7" y2="535.3"/>
- <line x1="861.3" y1="524.7" x2="863.8" y2="522.2"/>
+ <rect x="750" y="514" width="4" height="32" rx="2" fill="#6366F1"/>
+
+ <rect x="770" y="510" width="40" height="40" rx="10" fill="#EEF2FF"/>
+ <g stroke="#6366F1" stroke-width="1.8" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <circle cx="784" cy="520" r="3"/>
+ <circle cx="796" cy="520" r="3"/>
+ <circle cx="790" cy="532" r="3"/>
+ <line x1="786" y1="523" x2="788.5" y2="529"/>
+ <line x1="794" y1="523" x2="791.5" y2="529"/>
+ <line x1="787" y1="520" x2="793" y2="520"/>
</g>
- <text x="886" y="525" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" font-weight="700" fill="#0F172A">业务引擎</text>
- <text x="886" y="546" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" fill="#64748B">工作流 + 规则引擎</text>
+
+ <text x="826" y="528" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="700" fill="#0F172A">Business Logic</text>
+ <text x="826" y="550" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="500" fill="#64748B">Workflow &amp; Rule Engines</text>
- <!-- ===== Spoke 4: 集成能力 (正下) - teal ===== -->
+ <!-- ===== Spoke 4: Integration Services (Bottom) - Blue ===== -->
+ <!-- Center: 640, 640 -->
<g filter="url(#cardShadow)">
- <rect x="540" y="584" width="200" height="72" rx="14" fill="#FFFFFF"/>
+ <rect x="520" y="600" width="240" height="80" rx="12" fill="#FFFFFF" stroke="#E2E8F0" stroke-width="1"/>
</g>
- <rect x="540" y="598" width="3" height="44" fill="#0EA5E9" rx="1.5"/>
- <rect x="558" y="602" width="36" height="36" rx="10" fill="#E0F2FE"/>
- <g stroke="#0EA5E9" stroke-width="1.6" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <circle cx="568" cy="613" r="2.6"/>
- <circle cx="584" cy="613" r="2.6"/>
- <circle cx="576" cy="628" r="2.6"/>
- <line x1="570.4" y1="613" x2="581.6" y2="613"/>
- <line x1="569.4" y1="615.3" x2="574.6" y2="625.7"/>
- <line x1="582.6" y1="615.3" x2="577.4" y2="625.7"/>
+ <rect x="520" y="624" width="4" height="32" rx="2" fill="#3B82F6"/>
+
+ <rect x="540" y="620" width="40" height="40" rx="10" fill="#EFF6FF"/>
+ <g stroke="#3B82F6" stroke-width="1.8" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <circle cx="552" cy="632" r="2.5"/>
+ <circle cx="568" cy="632" r="2.5"/>
+ <circle cx="560" cy="646" r="2.5"/>
+ <line x1="554.5" y1="632" x2="565.5" y2="632"/>
+ <line x1="553.5" y1="634" x2="558.5" y2="644"/>
+ <line x1="566.5" y1="634" x2="561.5" y2="644"/>
</g>
- <text x="606" y="615" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" font-weight="700" fill="#0F172A">集成能力</text>
- <text x="606" y="636" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" fill="#64748B">API 网关 + 消息总线</text>
+
+ <text x="596" y="638" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="700" fill="#0F172A">Integration Services</text>
+ <text x="596" y="660" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="500" fill="#64748B">API Gateway &amp; Event Bus</text>
- <!-- ===== Spoke 5: 安全能力 (左下) - indigo ===== -->
+ <!-- ===== Spoke 5: Security & Compliance (Bottom Left) - Sky ===== -->
+ <!-- Center: 410, 530 -->
<g filter="url(#cardShadow)">
- <rect x="260" y="494" width="200" height="72" rx="14" fill="#FFFFFF"/>
+ <rect x="290" y="490" width="240" height="80" rx="12" fill="#FFFFFF" stroke="#E2E8F0" stroke-width="1"/>
</g>
- <rect x="260" y="508" width="3" height="44" fill="#4F46E5" rx="1.5"/>
- <rect x="278" y="512" width="36" height="36" rx="10" fill="#EEF2FF"/>
- <g stroke="#4F46E5" stroke-width="1.6" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <path d="M 296 519 L 305 522 V 532 C 305 537.5 301 540.5 296 542.5 C 291 540.5 287 537.5 287 532 V 522 Z"/>
- <path d="M 292 530.5 L 295 533.5 L 300 527.5"/>
+ <rect x="290" y="514" width="4" height="32" rx="2" fill="#0EA5E9"/>
+
+ <rect x="310" y="510" width="40" height="40" rx="10" fill="#E0F2FE"/>
+ <g stroke="#0EA5E9" stroke-width="1.8" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <path d="M 320 519 L 330 516 L 340 519 V 525 C 340 533 334 538 330 540 C 326 538 320 533 320 525 Z"/>
+ <path d="M 326 528 L 329 531 L 334 524"/>
</g>
- <text x="326" y="525" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" font-weight="700" fill="#0F172A">安全能力</text>
- <text x="326" y="546" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" fill="#64748B">IAM + 零信任架构</text>
+
+ <text x="366" y="528" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="700" fill="#0F172A">Security &amp; Compliance</text>
+ <text x="366" y="550" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="500" fill="#64748B">IAM &amp; Zero-Trust Architecture</text>
- <!-- ===== Spoke 6: 用户体验 (左上) - teal ===== -->
+ <!-- ===== Spoke 6: User Experience (Top Left) - Indigo ===== -->
+ <!-- Center: 410, 230 -->
<g filter="url(#cardShadow)">
- <rect x="260" y="194" width="200" height="72" rx="14" fill="#FFFFFF"/>
+ <rect x="290" y="190" width="240" height="80" rx="12" fill="#FFFFFF" stroke="#E2E8F0" stroke-width="1"/>
</g>
- <rect x="260" y="208" width="3" height="44" fill="#0EA5E9" rx="1.5"/>
- <rect x="278" y="212" width="36" height="36" rx="10" fill="#E0F2FE"/>
- <g stroke="#0EA5E9" stroke-width="1.6" fill="none" stroke-linecap="round" stroke-linejoin="round">
- <circle cx="296" cy="225" r="3.6"/>
- <path d="M 287 240 C 287 234.5 291 231.5 296 231.5 C 301 231.5 305 234.5 305 240"/>
+ <rect x="290" y="214" width="4" height="32" rx="2" fill="#6366F1"/>
+
+ <rect x="310" y="210" width="40" height="40" rx="10" fill="#EEF2FF"/>
+ <g stroke="#6366F1" stroke-width="1.8" fill="none" stroke-linecap="round" stroke-linejoin="round">
+ <rect x="320" y="218" width="20" height="16" rx="2"/>
+ <line x1="320" y1="223" x2="340" y2="223"/>
+ <line x1="326" y1="223" x2="326" y2="234"/>
</g>
- <text x="326" y="225" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="15" font-weight="700" fill="#0F172A">用户体验</text>
- <text x="326" y="246" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="11" fill="#64748B">低代码 + 设计系统</text>
+
+ <text x="366" y="228" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="15" font-weight="700" fill="#0F172A">User Experience</text>
+ <text x="366" y="250" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="12" font-weight="500" fill="#64748B">Low-Code &amp; Design System</text>
- <!-- 底部总结 -->
- <text x="640" y="700" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
- font-size="12" fill="#94A3B8">核心中台连接六大能力域,形成统一的企业数字化底座</text>
+ <!-- Footer Summary -->
+ <text x="640" y="695" text-anchor="middle" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
+ font-size="14" fill="#94A3B8">The central hub seamlessly integrates six core capability domains to form a unified digital foundation.</text>
</svg>