Creating charts from your data can help you make comparisons and understand the data presented more easily.
By uploading your spreadsheet of data, you can describe what information you wish to represent, and request an AI to suggest and create appropriate charts.
You may be able to personalise your charts (depending on the tool), including labelling, colours, titles and other features.
Examples include creating a line graph to show sales per month, a bar chart to compare sales across different products, or a donut chart to show the breakdown of expenses.
In this guide, you will learn how to generate charts from Excel data using AI, which chart types to choose, which prompts to use, and how to check whether your final charts accurately represent your spreadsheet.

Table of Contents
What Does It Mean to Generate Charts from Excel Data Using AI?

AI can be used to create charts from Excel data.
Rather than manually choosing cells in the spreadsheet, navigating the chart options and changing various options, you can simply describe what you would like to see in your chart.
For example, suppose you have an Excel spreadsheet showing monthly income, costs and profit.
You can upload the spreadsheet and ask:
“Create a line chart showing monthly revenue, expenses, and profit. Use months on the horizontal axis and financial values on the vertical axis. Add a clear title and a separate line for each metric.”
The AI tool can interpret your instructions, work with the available data, and generate a visualization if its chart-generation capabilities support the task.
AI-assisted chart generation can help you:
- Visualize trends: Understand how sales, expenses, or website traffic change over time.
- Compare categories: See which products, departments, or regions have higher values.
- Understand proportions: Show how different categories contribute to a total.
- Identify relationships: Explore whether two numerical variables move together.
- Prepare reports: Create visuals that make spreadsheet information easier to communicate.
However, generating a chart is only one part of the process. You should also select an appropriate chart type and verify that its values match the original spreadsheet.
Which Chart Type Should You Choose for Your Excel Data?

Think about what message you want to convey with your chart. Different chart types are better for different messages.
Although AI can suggest chart types to display the data in your spreadsheet, knowing what different chart types do will help you make the best decision.
1. Bar and Column Charts for Category Comparisons

Bar and column charts help you compare values across different categories.
For example, suppose your spreadsheet contains revenue from five product categories:
| Product Category | Revenue |
| Electronics | $12,000 |
| Furniture | $9,500 |
| Clothing | $7,000 |
| Accessories | $5,500 |
| Home Decor | $4,000 |
A bar chart can show which category generated the most revenue.
Use these charts when you want to:
- Compare product sales.
- Rank departments by performance.
- Compare revenue across regions.
- Identify the highest and lowest values.
Example AI prompt:
“Create a horizontal bar chart comparing revenue across all product categories. Sort the categories from highest to lowest revenue, display the values at the end of each bar, and use a clear title.”
2. Line Charts for Trends Over Time

Line charts can be used if there is time related data in your spreadsheet. This includes dates, months, quarters etc.
A business can plot revenue across the months of January to June using a line chart.
Use line charts when you want to:
- Track monthly sales.
- Compare website traffic over time.
- Monitor expenses across quarters.
- Observe changes in customer activity.
Example AI prompt:
“Create a line chart showing monthly revenue from January to June. Put the months on the X-axis and revenue on the Y-axis. Add markers for each month and display a clear chart title.”
3. Pie and Donut Charts for Proportions

Pie and donut charts show how individual categories contribute to a whole.
Imagine a company has a monthly marketing budget divided into different activities.
| Marketing Channel | Budget |
| Social Media | $4,000 |
| Search Advertising | $3,000 |
| Email Marketing | $1,500 |
| Content Marketing | $1,000 |
| Other | $500 |
A donut chart can help readers understand how the budget is distributed.
Use these charts when:
- You want to show parts of a total.
- You have a small number of meaningful categories.
- The values represent the same whole.
Avoid using a pie chart when there are too many categories or when readers need to compare very similar values. A bar chart may communicate those differences more clearly.
Example AI prompt:
“Create a donut chart showing the distribution of the marketing budget across all channels. Display category names and percentages, and include the total budget in the chart title.”
4. Scatter Plots for Relationships Between Variables
This is useful to understand relationships between two quantitative variables.
For example, a business may wish to understand the relationship between spending on advertisements and number of leads received.
Use scatter plots when you want to:
- Compare advertising spending with conversions.
- Examine price and sales relationships.
- Explore relationships between two performance metrics.
- Identify unusual observations.
Example AI prompt:
“Create a scatter plot using advertising expenditure on the X-axis and leads generated on the Y-axis. Include all available records, label both axes, and describe any visible patterns without assuming causation.”
A scatter plot can reveal a possible relationship, but it does not prove that one variable causes changes in another.
How to Generate Charts from Excel Data Using AI: Step-by-Step

No in-depth knowledge of creating charts in Excel is required. You just need a well structured spreadsheet, AI with support for this type of data and charting, and a clear instruction.
Let’s walk through the process.
Step 1: Prepare Your Excel Spreadsheet
Ensure that the data is arranged in the right way.
Suppose you want to produce a chart to show the financial performance of a small business.
The data in your spreadsheet may be as follows:
| Month | Revenue | Expenses | Profit |
| January | $15,000 | $9,000 | $6,000 |
| February | $17,500 | $10,000 | $7,500 |
| March | $14,000 | $9,500 | $4,500 |
| April | $20,000 | $11,000 | $9,000 |
| May | $22,000 | $12,000 | $10,000 |
| June | $25,000 | $14,000 | $11,000 |
This dataset gives you three financial metrics that can be visualized together.
Before using it, check the following:
- Every column has a meaningful heading.
- Dates and numbers follow consistent formats.
- Empty rows and unnecessary columns are removed.
- Financial values are stored as numbers.
- The spreadsheet does not contain confusing merged cells.
- Missing values and unusual entries are identified.
If your spreadsheet contains duplicate records, inconsistent headings, or formatting problems, address those issues before creating charts. You can use our guide on how to clean Excel data using AI for a more detailed cleaning workflow.
Step 2: Upload or Share Your Excel Data With an AI Tool
Select an AI tool to work with the spreadsheet.
Depending on the features of the tool you have selected, you may be able to either upload an Excel file, upload a CSV file, or copy and paste a smaller section of data.
Some tools you can explore include:
- ChatGPT
- Google Gemini
- Claude
- Microsoft Copilot
Different formats, restrictions and visualisations are available, depending on product and plan. Make sure to check the available features for your product/plan.
Ask AI to analyse your spreadsheet.
Prompt to use:
“I have uploaded an Excel spreadsheet containing monthly revenue, expenses, and profit. Inspect the available data and identify the column names, number of records, and data types. Tell me whether the information is suitable for creating a monthly financial chart. Do not change the original data.”
This first instruction helps you check whether the AI has understood your spreadsheet correctly.
Step 3: Ask AI to Recommend the Right Chart Type
Describe what information you want to convey with this visualisation.
You do not need to know exactly what type of chart to create. The AI can suggest a suitable chart for you based on what information you want to convey.
Prompt to use:
“Review the uploaded spreadsheet containing monthly revenue, expenses, and profit. Recommend the most suitable chart types for comparing these three metrics over six months. Explain why each chart would be useful and identify the columns required. Do not create additional or estimated values.”
The AI may suggest that a line chart would be useful in this case as data is recorded on a monthly basis.
Ask the AI to suggest another chart to show the relationship between revenue and cost.
Consider the suggestion carefully. The most aesthetically pleasing chart may not be the most useful.
Step 4: Generate the Chart Using a Clear Prompt
After selecting a chart type, provide specific instructions.
For our example, a line chart can display revenue, expenses, and profit over six months.
Prompt to use:
“Create a line chart using the uploaded financial spreadsheet.
Requirements:
- Use Month on the X-axis.
- Use Revenue, Expenses, and Profit as three separate data series.
- Use the original spreadsheet values.
- Add a descriptive chart title.
- Label both axes.
- Include a readable legend.
- Display markers for each month.
- Do not modify, estimate, or invent any data.
After generating the chart, show the values used for each data series.”
If your AI can generate charts, do so. Alternatively, it might give you guidance on how to generate charts, or even the code to generate them, or data in a format that can be easily used in Excel or other charting software.
Check that all 6 months and 3 measures of finance have been included.
Step 5: Customize and Export Your Chart
Once the chart is generated, make adjustments to improve readability.
You can ask AI to help with:
- Chart titles.
- Axis labels.
- Data labels.
- Legend placement.
- Color selection.
- Number formatting.
- Font readability.
- Highlighting important values.
Prompt to use:
“Improve the formatting of this chart without changing the underlying data. Use a simple professional design, make the axis labels easy to read, format financial values consistently, and ensure the legend clearly identifies revenue, expenses, and profit.”
After reviewing the final visualization, export or save it using the options supported by your chosen tool.
Common formats include:
- PNG for presentations and online documents.
- SVG for scalable graphics.
- PDF for reports and document sharing.
- Excel workbook format when you want to retain the chart in a spreadsheet.
If the AI tool does not provide direct chart export, you can recreate the chart in Excel or Google Sheets using its generated instructions or data.
Practical Example: Create Different Charts From Excel Data

We will look at another small dataset.
The marketing team at a fictional online shop, BrightMart, wish to understand how their website is performing on a monthly basis.
The following data is given in this spreadsheet:
| Month | Website Visitors | Orders | Marketing Spend |
| January | 5,000 | 150 | $1,000 |
| February | 6,200 | 185 | $1,200 |
| March | 5,800 | 170 | $1,100 |
| April | 7,500 | 240 | $1,500 |
| May | 8,200 | 275 | $1,700 |
Using the same dataset, you can create different charts depending on the question you want to answer.
Example 1: Create a Line Chart for Website Visitors
Goal: Understand how website traffic changes each month.
AI prompt:
“Create a line chart showing monthly website visitors for BrightMart. Use Month on the X-axis and Website Visitors on the Y-axis. Add markers, data labels, and a clear title.”
This visualization makes it easier to see how visitor numbers change throughout the five months.
Example 2: Create a Column Chart for Monthly Orders
Goal: Compare the number of orders received each month.
AI prompt:
“Create a column chart comparing monthly orders for BrightMart. Use Month on the horizontal axis and Orders on the vertical axis. Display the exact order count above each column and highlight the month with the highest number of orders.”
This chart makes month-to-month comparisons easier.
Example 3: Create a Scatter Plot for Marketing Spend and Orders
Goal: Explore whether higher marketing spending is associated with more orders.
AI prompt:
“Create a scatter plot using Marketing Spend on the X-axis and Orders on the Y-axis. Plot all five monthly observations. Add clear axis labels and explain any visible relationship. Do not claim that marketing spending caused the changes in orders.”
This allows us to consider if there is any relationship between spending and order.
Different charts can be created from this spreadsheet. It is important to choose the correct chart depending on what question you are trying to answer.
Best AI Prompts for Generating Excel Charts

Better results will be obtained by providing clear instructions.
Be specific with your request. Include what columns of data to include, what type of chart to create, what the chart is for and what format you want.
Here are some examples that can be reused.
1. Prompt to Recommend the Best Chart
“Review the uploaded Excel spreadsheet and recommend three suitable chart types based on its columns and data structure. Explain what each chart would communicate, which columns it would use, and why it is appropriate.”
2. Prompt to Generate a Bar Chart
“Create a horizontal bar chart comparing [Category] and [Sales]. Sort the categories from highest to lowest, display the exact values, and add a descriptive title.”
3. Prompt to Generate a Line Chart
“Create a line chart showing [Metric] over [Time Period]. Use the date or month column on the X-axis and the metric on the Y-axis. Include readable labels, markers, and a legend if multiple series are present.”
4. Prompt to Generate a Pie Chart
“Create a pie chart showing how [Value] is distributed across [Categories]. Display the category names and percentages. Check that the categories represent parts of the same total before generating the chart.”
5. Prompt to Customize an Existing Chart
“Improve the readability of this chart. Add an informative title, clear axis labels, consistent number formatting, and a readable legend. Keep all original values unchanged.”
6. Prompt to Verify Chart Accuracy
“Compare the data used in this chart with the original Excel spreadsheet. Check whether all categories, dates, and numerical values are represented correctly. Identify missing or duplicated records, incorrect labels, and any differences. Do not silently correct the data.”
Prompts can be saved for frequently performed reporting tasks. The Smart Prompt Manager in AiZolo allows you to store and manage prompts and compare outputs across AI models in a single workspace.
This makes it easy to compare suggested visualizations based on the same prompt for selecting charts from your data and decide which visualization to create.
Which AI Tools Can Help Generate Excel Charts?

Several AI tools can help with spreadsheet-related tasks, but their chart-generation capabilities are not identical.
Here are some options to explore.
ChatGPT
ChatGPT can perform calculations on the data, and provide interpretations and visualisations depending on what analysis functionality is available.
The user can request ChatGPT to suggest a chart, or produce a visualisation and interpretation of the chart.
For a dedicated guide to its spreadsheet workflow, see how to analyze Excel files with ChatGPT.
Google Gemini
Depending on the model, file types supported and integrations, Google Gemini can be used to answer questions and interpret data in spreadsheets.
You can ask it to suggest charts or explain information within a spreadsheet. Check whether your current setup of Gemini can provide the required chart type.
Claude
Can be used to explain data in structured format, or spreadsheet data. Can also be used to understand or improve instructions for charts or code.
Can be useful to understand visualisations, or improve instructions to create visualisations.
Microsoft Copilot and Excel
Microsoft Copilot can be used for spreadsheets.
You can also use Recommended Charts in Excel. This will recommend different charts for the data you have selected. You can preview the charts before adding them.
You can learn more in Microsoft’s official guide: Create a chart with Recommended Charts.
ChartGen
Give data to the model, describe what you want your chart to look like, generate the chart, and finally customize it.
Depending on the application, some models may be more suitable than others. Consider file support, chart quality, customisation and export options. Not all AI applications will allow you to do the same thing.
Common Mistakes to Avoid When Generating Charts With AI

AI can make chart creation easier, but the output still needs human review.
Watch out for these common mistakes.
1. Choosing the Wrong Chart Type
A pie chart may not be an appropriate way to show the sales of each month, and a line graph may not be the best way to compare different, unrelated products.
How to avoid it: Explain what you want the reader to understand and ask AI to justify its chart recommendation.
2. Uploading Poorly Organized Data
Missing headings, inconsistent dates, and blank rows can affect how AI interprets your spreadsheet.
How to avoid it: Review the spreadsheet structure before uploading it and resolve obvious formatting issues.
3. Using Incorrect Data Ranges
A chart may accidentally exclude the latest month or include an unnecessary summary row.
How to avoid it: Ask AI to list the exact columns and records used to create the visualization.
4. Adding Too Much Information
Too many categories, labels, and colors can make a chart difficult to understand.
How to avoid it: Focus on the information that supports the purpose of the visualization. Use separate charts when different questions require different views.
5. Trusting AI-Generated Numbers Without Checking Them
AI may misinterpret a column, exclude a record, or display an incorrect value.
How to avoid it: Compare the chart’s source values with the original spreadsheet. Check totals, categories, dates, and labels before using the chart in a report.
How to Verify AI-Generated Charts Before Using Them

Even if a chart looks professional, you may find that it contains errors. It is very important to check charts in business documents, financial documents and academic documents.
Check the following in your visualisations:
- Check the source: Confirm that the chart uses the intended worksheet and data range.
- Check the categories: Make sure every required product, month, or region is included.
- Check the values: Compare selected chart values with their original spreadsheet cells.
- Check the axes: Confirm that the X-axis and Y-axis represent the correct variables.
- Check the scale: Make sure the axis does not create a misleading impression.
- Check the labels: Confirm that titles, units, dates, and legends are accurate.
- Check the calculations: If percentages or totals are shown, recalculate them independently.
- Check the interpretation: Do not treat a visible relationship as proof of causation.
Check the spreadsheet data to confirm that the number of website visitors has increased in April.
You can also ask another AI model to check the instructions and data. However, this will not independently confirm that the chart is accurate.
If you have received any significant results from the chart, be sure to check them in the original data.
Frequently Asked Questions
1. Can AI generate charts directly from Excel data?
Yes. You can generate graphs from data in an Excel document. The variety of graphs available, and the ability to download them will depend on the AI used. Some AIs may also suggest graphs, give instructions or code to create graphs in Excel.
2. Can ChatGPT create graphs from Excel files?
If supported, ChatGPT can be used to produce charts from data in uploaded spreadsheets. You can specify what chart to produce, which columns to include, and what labels/titles to add. Please check that this chart matches that of your original workbook.
3. Which AI chart is best for monthly sales data?
A line chart is useful to show the trend in monthly sales, whereas a bar chart is useful to compare sales from month to month. Therefore which graph to use depends on whether you wish to show trends or comparisons.
4. Can AI choose the correct chart type automatically?
Some AI tools will suggest a chart type. But this may not be best to illustrate your message. Think about the message you want to convey and check that the suggested chart is suitable.
5. Can I generate Excel charts without formulas?
Yes. Chart generation can be done via natural language prompts on spreadsheet data. However, the AI will need to have these capabilities to process and visualise data.
6. Can I create multiple charts from one Excel spreadsheet?
Yes. If data is available in the spreadsheet, multiple charts can be produced. For example, a line graph could be used to show monthly sales, a bar chart could be used to compare products and a scatter graph could be used to show the relationship between numerical variables.
7. Are AI-generated Excel charts always accurate?
No. If incorrect values, blank data, formatting or misinterpretation occurs, errors may occur. Check that values, categories, axes and calculations in the chart match those in the original spreadsheet.
Conclusion
Using AI can help visualise data in spreadsheets, even if you have little experience with charts.
Upload your data and give the AI a description of what you would like it to visualise. The AI will suggest a suitable chart for you. You can then give specific instructions to make it perfect.
Use simple data. Depending on what you want to investigate (comparisons between categories, trends over months or relationships between variables), you can select a chart which will make it easier to understand the information in the spreadsheet.
Finally, always double check that the data is accurate. Check the original data, axis labels and final visualisation to make sure it is correct to include in your report/presentation.
Author
Anshika Verma is a content researcher and writer at AiZolo, focused on researching AI tools, models, and creator technologies. She creates practical guides that help readers understand emerging AI applications and use them in everyday workflows.
