论文写作
- 作者仓库星标 224
- 作者更新于 实时读取
- 作者仓库 research-plugins
- 领域
- 数据
- 兼容 Agent
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- 信任分
- 88 / 100 · 社区维护
- 作者 / 版本 / 许可
- @wentorai · 未声明 license
- Token 消耗评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部 API Key
- 不需要
- 兼容的系统
- macOS · Linux · Windows
- 底层运行要求
- 无特殊要求
- 文件与系统权限
-
- 只读
- 允许写入 / 修改
- 网络行为
- 允许外网请求
- 安装命令数
- 26 条
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: echarts-visualization-guide
description: Guide to Apache ECharts for interactive research data dashboards Apache ECharts is a powerful, f…
category: 数据
runtime: 无特殊运行时
---
# echarts-visualization-guide 输出预览
## PART A: 任务判断
- 适用问题:表格、CSV、数据集、指标或分析流程。
- 输入要求:目标材料、限制条件、期望输出和验收方式。
- 证据边界:围绕“Overview / Basic Configuration and Chart Types / Setting Up ECharts”读取原文规则,不把推断写成作者承诺。
## PART B: 执行结果
- **01** 任务判断:确认你的需求是否属于表格、CSV、数据集、指标或分析流程,并标出输入、限制和预期结果。
- **02** 执行计划:优先按“Overview / Basic Configuration and Chart Types / Setting Up ECharts”拆成步骤,说明每一步会读取什么、修改什么、产出什么。
- **03** 交付结果:给出可复制的命令、文件改动、检查清单或内容草稿,并说明如何继续迭代。
- **04** 风险边界:结合 读取文件、写入/修改文件、会按任务需要访问外部网络、通常不需要额外 API Key 给出执行前确认项。
## Running Rules
- 读取文件、写入/修改文件;会按任务需要访问外部网络;通常不需要额外 API Key。
- 先小样例验证,再放大到真实任务。
- 交付时同时给结果、检查口径和下一步迭代建议。 原文没有稳定的斜杠命令要求。安装验证后通常全局生效,直接在对话里点名这个 Skill 并描述任务即可。
告诉 Agent 目标文件或材料、期望结果、不可改范围、是否允许联网或执行命令。本 Skill 的权限画像是:读取文件、写入/修改文件。
先用一个小任务确认它会围绕“Overview / Basic Configuration and Chart Types / Setting Up ECharts”工作;涉及文件或命令时,先看 diff、日志、预览或测试结果。
检查最终产物是否包含明确结果、必要证据和下一步动作;如果输出泛泛而谈,就补充输入、边界和验收标准后重跑。
---
name: echarts-visualization-guide
description: Guide to Apache ECharts for interactive research data dashboards Apache ECharts is a powerful, f…
category: 数据
source: wentorai/research-plugins
---
# echarts-visualization-guide
## 什么时候使用
- echarts-visualization-guide 是数据方向的技能,让 Agent 处理结构化文件(Excel / CSV / 表格) 适合处理表格、CSV、指标、数据集、分析和可视化报告,核心价值是把输入、判断、执行、验证和交付…
- 面向表格、CSV、数据集、指标或分析流程,优先处理能明确输入、步骤和验收标准的工作。
## 需要提供什么
- 目标材料、目录范围、期望结果和不可改动内容。
- 是否允许联网、执行命令、读写文件或调用外部服务。
## 执行规则
- 围绕「Overview / Basic Configuration and Chart Types / Setting Up ECharts」组织步骤,不把推断写成作者事实。
- 读取文件、写入/修改文件;会按任务需要访问外部网络;通常不需要额外 API Key。
- 先跑小样例,确认结果可检查后再扩大任务范围。
## 输出要求
- 给出最终产物、关键证据、验证方式和下一步动作。
- 信息不足时标记 unknown,不编造命令、平台或依赖。 作者原文负责流程事实;仓库文件负责来源和命令;流狐只补充适用场景、限制和质量判断。
skill "echarts-visualization-guide" {
输入层 -> 用户目标 + 目标文件 + 禁止范围 + 验收标准
上下文层 -> Overview / Basic Configuration and Chart Types / Setting Up ECharts
规则层 -> SKILL.md 触发条件 / 执行顺序 / 输出格式
运行层 -> 无特殊运行时 | 读取文件、写入/修改文件 | 会按任务需要访问外部网络
安全层 -> 通常不需要额外 API Key + 小任务验证 + diff / 日志复核
输出层 -> 可复制结果 + 检查清单 + 下一步迭代
} Apache ECharts Visualization Guide
Overview
Apache ECharts is a powerful, free, and open-source interactive charting and data visualization library with over 66K stars on GitHub. Originally developed by Baidu and now an Apache Software Foundation top-level project, ECharts provides a declarative configuration-based approach to building rich, interactive visualizations that run smoothly in any modern browser.
For academic researchers, ECharts offers an excellent balance between ease of use and customization depth. Its declarative option-based API means researchers can produce complex multi-series charts, geographic visualizations, and animated transitions without writing low-level rendering code. This is particularly useful when building research dashboards or interactive supplementary materials for publications.
ECharts supports over 20 chart types out of the box, including line, bar, scatter, pie, radar, candlestick, heatmap, treemap, sunburst, parallel coordinates, sankey diagrams, and geographic maps. Its built-in support for large datasets (via progressive rendering and data sampling) makes it suitable for visualizing experimental results with hundreds of thousands of data points.
Basic Configuration and Chart Types
ECharts uses a declarative JSON configuration object to define charts. This approach makes it straightforward to build visualizations programmatically from research data.
Setting Up ECharts
<div id="chart" style="width: 800px; height: 500px;"></div>
<script src="https://cdn.jsdelivr.net/npm/echarts@5/dist/echarts.min.js"></script>
<script>
const chart = echarts.init(document.getElementById('chart'));
</script>
Multi-Series Line Chart for Time-Series Data
const option = {
title: {
text: 'Gene Expression Over Time',
left: 'center',
textStyle: { fontSize: 16, fontWeight: 'bold' }
},
tooltip: {
trigger: 'axis',
formatter: params => {
let html = `<strong>Hour ${params[0].axisValue}</strong><br/>`;
params.forEach(p => {
html += `${p.marker} ${p.seriesName}: ${p.value.toFixed(3)}<br/>`;
});
return html;
}
},
legend: { data: ['Gene A', 'Gene B', 'Gene C'], bottom: 10 },
xAxis: {
type: 'category',
name: 'Time (hours)',
data: [0, 2, 4, 8, 12, 24, 48, 72]
},
yAxis: {
type: 'value',
name: 'Relative Expression',
nameLocation: 'middle',
nameGap: 50
},
series: [
{
name: 'Gene A',
type: 'line',
data: [1.0, 1.2, 2.4, 5.1, 8.3, 12.1, 10.5, 9.2],
smooth: true,
lineStyle: { width: 2 }
},
{
name: 'Gene B',
type: 'line',
data: [1.0, 0.9, 0.7, 0.5, 0.3, 0.2, 0.15, 0.1],
smooth: true,
lineStyle: { width: 2 }
},
{
name: 'Gene C',
type: 'line',
data: [1.0, 1.1, 1.3, 1.8, 3.2, 6.7, 8.9, 11.4],
smooth: true,
lineStyle: { width: 2 }
}
]
};
chart.setOption(option);
Scatter Plot with Error Regions
const scatterOption = {
title: { text: 'Treatment Response vs Dosage', left: 'center' },
xAxis: { type: 'value', name: 'Dosage (mg/kg)' },
yAxis: { type: 'value', name: 'Response Score' },
tooltip: {
formatter: p => `Dosage: ${p.value[0]}<br/>Response: ${p.value[1]}`
},
visualMap: {
min: 0, max: 100,
dimension: 2,
inRange: { color: ['#3B82F6', '#EF4444'] },
text: ['High', 'Low'],
calculable: true
},
series: [{
type: 'scatter',
symbolSize: d => Math.sqrt(d[2]) * 2,
data: experimentalData.map(d => [d.dosage, d.response, d.confidence])
}]
};
Advanced Research Visualizations
Heatmap for Gene Expression Matrices
const heatmapOption = {
title: { text: 'Sample Correlation Matrix', left: 'center' },
tooltip: {
position: 'top',
formatter: p => {
return `${sampleNames[p.value[0]]} vs ${sampleNames[p.value[1]]}<br/>` +
`Correlation: ${p.value[2].toFixed(4)}`;
}
},
grid: { left: 120, top: 60, right: 80, bottom: 100 },
xAxis: {
type: 'category',
data: sampleNames,
axisLabel: { rotate: 45 }
},
yAxis: {
type: 'category',
data: sampleNames
},
visualMap: {
min: -1, max: 1,
calculable: true,
orient: 'vertical',
right: 10,
top: 'center',
inRange: {
color: ['#2166AC', '#F7F7F7', '#B2182B']
}
},
series: [{
type: 'heatmap',
data: correlationData,
label: { show: true, formatter: p => p.value[2].toFixed(2), fontSize: 9 },
emphasis: {
itemStyle: { shadowBlur: 10, shadowColor: 'rgba(0,0,0,0.5)' }
}
}]
};
Radar Chart for Multi-Dimensional Comparison
const radarOption = {
title: { text: 'Model Performance Comparison', left: 'center' },
legend: { data: ['Model A', 'Model B', 'Baseline'], bottom: 10 },
radar: {
indicator: [
{ name: 'Accuracy', max: 1.0 },
{ name: 'Precision', max: 1.0 },
{ name: 'Recall', max: 1.0 },
{ name: 'F1 Score', max: 1.0 },
{ name: 'AUC-ROC', max: 1.0 },
{ name: 'Speed (norm)', max: 1.0 }
]
},
series: [{
type: 'radar',
data: [
{ value: [0.94, 0.91, 0.89, 0.90, 0.96, 0.72], name: 'Model A' },
{ value: [0.92, 0.95, 0.85, 0.90, 0.94, 0.88], name: 'Model B' },
{ value: [0.85, 0.82, 0.80, 0.81, 0.87, 0.95], name: 'Baseline' }
]
}]
};
Responsive Design and Theming
ECharts supports custom themes and responsive resizing, which is important when embedding visualizations in research web applications.
// Register a custom academic theme
echarts.registerTheme('academic', {
color: ['#3B82F6', '#EF4444', '#10B981', '#F59E0B', '#8B5CF6', '#EC4899'],
backgroundColor: '#FFFFFF',
textStyle: { fontFamily: 'Inter, sans-serif' },
title: { textStyle: { color: '#1F2937', fontSize: 16 } },
line: { smooth: false, symbolSize: 6 }
});
// Initialize chart with the academic theme
const chart = echarts.init(document.getElementById('chart'), 'academic');
// Handle responsive resizing
window.addEventListener('resize', () => chart.resize());
Data Loading and Integration
// Load CSV data and convert to ECharts format
async function loadExperimentData(csvUrl) {
const response = await fetch(csvUrl);
const text = await response.text();
const rows = text.split('\n').slice(1);
const data = rows.map(row => {
const [sample, condition, value, error] = row.split(',');
return { sample, condition, value: parseFloat(value), error: parseFloat(error) };
});
return data;
}
// Export chart as PNG for publications
function downloadChart(chartInstance, filename) {
const url = chartInstance.getDataURL({
type: 'png',
pixelRatio: 3,
backgroundColor: '#fff'
});
const link = document.createElement('a');
link.href = url;
link.download = filename || 'chart.png';
link.click();
}
References
- Apache ECharts official site: https://echarts.apache.org
- ECharts GitHub repository: https://github.com/apache/echarts
- ECharts examples gallery: https://echarts.apache.org/examples
- ECharts configuration handbook: https://echarts.apache.org/en/option.html
先判断是否适合
作者设计意图
作者的方法与取舍
边界和复核