Data and spreadsheets

Choose the Right Chart with AI: Examples and Prompts

Choose charts with AI by matching your question to comparisons, trends and distributions. Includes misleading-chart fixes and a copyable chart design brief.

GPT Plus editorial team5 min read
Conceptual illustration of three elegant glass chart sculptures.

To choose charts with AI, describe the question you want a reader to answer, the fields you have and the comparison that matters. Ask for a chart recommendation with an explanation, then check it against the underlying table. The right chart makes the intended comparison easy without changing the meaning of the data.

Start with “Which product has the most returns?” rather than “Make an impressive dashboard.” The first request gives the model a task. The second encourages decoration before the metric and audience are clear.

Match the chart to the question#

Most everyday reporting questions fall into a few patterns. You might compare categories, show change over time, inspect a distribution or explore the relationship between two measurements. Ask the model to identify that pattern before recommending a chart.

Reader questionUseful starting chartMain review check
Which category is larger?Sorted bar chartComparable values and a clear baseline
How did a metric change?Line chartOrdered dates and visible missing periods
How are values distributed?Histogram or box plotSensible bins or explained summaries
Do two variables move together?Scatter plotOne point's meaning and relevant context
How does a total split?Stacked bar or a simple tableA consistent total and readable segments
What is the exact value?TableUnits, precision and useful ordering

These are starting choices, not universal rules. A table can be the best answer when a reader needs three exact numbers. A line chart is misleading if category labels merely look like dates but have no meaningful time order.

Fix the metric before the visual#

Consider a fictional store with two products. Product A has 20 returns from 1,000 orders; product B has 8 returns from 100 orders. A bar chart of return counts makes A look worse. A chart of return rates shows A at 2% and B at 8%. Neither chart is inherently false, but they answer different questions.

If you are planning warehouse workload, counts might matter. If you are investigating product fit, rates may be more useful. Show the denominator where readers could otherwise misinterpret a small sample. Ask AI to name both the business question and the limitation of its proposed visual.

Use this chart design brief#

Recommend a chart for this specific question: [question].
Audience and decision: [who will use it and what they must decide].
Fields and units: [list]. One row represents: [grain].
Data excerpt: [anonymized table]. Period and timezone: [details].
Propose one primary chart and one simpler alternative. Explain the
comparison each supports, the required transformations, axis choices,
sorting, labels, missing-data treatment and likely misinterpretation.
Do not invent values, imply causation or hide excluded categories.
Return a chart specification and the exact table needed to draw it.

If a tool generates a chart, ask for the data table used to plot it. Compare that table with your source. This is particularly useful when a model has grouped dates, combined small categories or calculated percentages automatically.

Review axes, ordering and missing data#

Bar length encodes magnitude, so a truncated baseline can exaggerate a difference. When the visual comparison relies on bar length, a zero baseline is generally the clear starting point. For a line chart, a narrower range can reveal meaningful variation, but label the scale clearly and consider whether the framing overstates the practical change.

Keep categories in a meaningful order. Sort by value for a ranking, preserve a natural sequence for steps and use chronological order for time. Avoid asking AI to sort months alphabetically or mix daily and monthly observations on the same axis without a clear transformation.

A missing day is not necessarily zero activity. Show a gap when the metric was not observed. If you fill missing periods with zero, document why zero is correct. A continuous line across unknown values can imply evidence you do not have.

Make the chart understandable without color#

Use direct labels, distinct line styles and a clear title. A legend that relies entirely on red versus green is difficult for some readers and fragile in grayscale printing. Give the chart a short text explanation that states the main finding and any important qualification.

For a complex chart, provide the accessible data table or a fuller description. W3C's complex image guidance discusses text alternatives for charts and diagrams. A generic alt description such as “chart of results” does not communicate the result.

Use honest titles and annotations#

“Product B has a higher return rate in this sample” is more precise than “Product B is failing.” Include the period, units and sample size when they affect interpretation. An annotation should identify an observed event, not invent a causal story.

If two series use different units, consider separate aligned charts before adding a second vertical axis. Dual axes can make unrelated lines appear to move together. Ask the model for a small-multiple alternative and compare how easily someone can explain it after a quick glance.

Finish with a chart review#

Check the headline number, one category, one time boundary and one missing value against the source table. Confirm that the chart still reads at the size where it will appear. Then ask a colleague what question it answers; their interpretation is a useful check on whether the design communicates the intended comparison.

Before designing, run the AI data analysis checklist. For a formula-generated source table, see spreadsheet formula debugging.

Common questions#

Should I always ask AI for the most advanced chart?#

Choose the simplest chart that supports the decision. Advanced visuals are useful only when the audience can read them and the extra structure communicates something necessary.

Can AI choose a chart from column names alone?#

It can suggest options, but column names rarely explain row meaning, units or the business question. Add sample rows and define the intended comparison.

Is an AI-generated chart ready to publish?#

Check its plotted values, labels, scales, exclusions and text alternative first. Treat a generated chart as a draft until those checks pass.

Download the working files#

Download the copyable prompt and download the illustrative worksheet (CSV). Replace example data with your own verified inputs; the worksheet is a planning aid.

Browse the English AI workflow guides for related tasks.

Put the workflow into practice

Start with the copyable prompt and a small example you can verify. Choose a tool that supports your input type, and review its output before using it.

Open GPT Plus

The app interface is primarily Persian. Available models and tools are shown in the app.

Continue with a related guide