Excel Chart Generator
Paste the following prompt into your AI chat to install this skill:
Please install @user_889ced6f/excel-chart according to the guide at https://skillhub.cn/install/skillhub.md.
About this skill
Data Visualization Pain Points in Analysis
Manually creating charts from Excel data typically involves opening the software, selecting data ranges, inserting chart types, and adjusting styles—steps that are time-consuming and require familiarity with Excel operations. This approach becomes inefficient for batch analysis or rapid iterations.
Core Capabilities and Workflow
This skill automates chart generation via the generate_chart.py script, with core capabilities including:
- Automatic Data Parsing: Reads
.xlsxor.xlsfiles, identifies all sheets, and outputs the first few rows of data, column names, data types, and statistical summaries. - Smart Chart Recommendation: Suggests chart types based on data structure, such as:
- 1 categorical column + 1 numerical column → Bar Chart or Pie Chart
- 1 temporal column + 1 numerical column → Line Chart
- 2 numerical columns → Scatter Plot
- Multi-Format Output: Supports interactive
HTML(using Plotly) and staticPNG(using Matplotlib) outputs for different use cases.
The key workflow steps are:
1. Data Preview: Run the script in preview mode to get an overview of the Excel content, including sheet lists, data structure, and statistics.
2. Parameter Confirmation: Confirm with the user the worksheet, X/Y axis columns, chart type (e.g., bar, line, pie), and output format. If unspecified, the script auto-recommends based on data.
3. Chart Generation: Execute the script to generate charts; it automatically handles date parsing, missing value marking, and other preprocessing.
4. Result Presentation: HTML files are interactively previewed via the preview_url tool, while PNG files are directly sent or opened.
Applicable Boundaries and Considerations
- Data Volume Limits: For datasets exceeding 1000 rows, the script prompts for batch processing or sampling to avoid performance issues.
- Chart Type Constraints: Heatmaps (
heatmap) require at least two numerical columns; box plots (box) are suitable for comparing distributions across multiple numerical columns. - Output Format Choice:
HTMLis ideal for exploratory analysis, supporting zoom and hover tooltips to view data points;PNGfits static reports or sharing. - Preprocessing Limitations: The script auto-identifies numerical and categorical columns but only marks missing values without filling them—handling depends on the chart type.
Overall, this skill focuses on simplifying Excel data visualization by automating manual steps, making it suitable for common data analysis scenarios.
Use Cases
- When an operations team needs to quickly convert quarterly sales data from an Excel sheet into bar or line charts for a visual report to management.
- In market analysis, generating scatter plots from Excel data containing customer ratings and purchase amounts to identify correlations in consumer behavior.
- When finance personnel process monthly expenditure Excel files, using box plots or heatmaps to compare numerical distributions and outliers across departments.
- Researchers generating automatic line charts from experimental data in Excel spreadsheets to track time-series trends and export as PNG for paper illustrations.
Best For
- Data Analysts: Need to regularly generate interactive HTML charts from raw Excel data to deeply explore patterns and support business decisions.
- Marketing Specialists: Want to quickly draw pie or bar charts from campaign Excel data to display market share or channel comparisons.
- Financial Reporters: Generate line charts from budget Excel sheets to monitor expenditure trends and export static PNG for embedding in monthly reports.
- Academic Research Assistants: Process experimental Excel files to automatically generate scatter plots or box plots for analyzing variable relationships and preparing paper figures.
Related Skills
A universal base component that automatically launches the Edge browser and connects the BrowserSkill extension, ensuring readiness for web scraping and browser automation tasks.
A fully local-run WeChat chat analysis tool with MBTI personality inference, sentiment analysis, risk detection, relationship health assessment, and conversation prediction, emphasizing privacy.
Fetches the top 20 A-share stocks by trading volume from Wencai, including ranking, price changes, and sectors, with sector analysis.
Performs project discrimination, classification, and structured extraction on bidding documents, outputting standardized data with support for manual review.