Published by dugufeng
Author: dugufeng
Tags: language:english, data-visualization, echarts, deepseek-coder, document-extractor, office-automation
Dify Version: v0.10.0+ (Requires file upload support)
This is a highly efficient office productivity workflow that acts as a "Frontend Visualization Expert." It automatically reads Excel or CSV data uploaded by the user, combines it with the code generation capabilities of DeepSeek Coder, and directly outputs a complete HTML file containing interactive ECharts visualizations.
Before running this workflow, please ensure your Dify environment meets the following conditions:
Model Provider Configuration:
Knowledge Base / File Parsing Capability:
Document Extractor node. This is a built-in Dify feature requiring no extra config, but ensure your Dify version supports it.Prepare Data:
.xlsx) or CSV file.Run Workflow:
file input box.chart_type dropdown menu (Supports: Bar Chart, Line Chart, Pie Chart, Stacked Chart).Get Results:
html ...)..html file, and open it in your browser to view the interactive chart (supports tooltips, legend toggling, and image download).file (Upload Excel/CSV) and chart_type (Select Chart Type).deepseek-coder) Receives the parsed text data and the user-specified chart type. The Prompt sets the persona of an ECharts Expert and enforces the output of no-nonsense, complete HTML code containing the ECharts CDN link.

data-analysis/smart-chart-generator-en