1. Why the chart layer is where AI-made decks break
There is a counter-intuitive distribution to AI-generated presentations: the error rate in the text is remarkably low, while the error rate in the charts is remarkably high. The reason is not that the model cannot write. It is that the verification cost of the two differs by an order of magnitude. A wrong sentence is discovered by the reader at the moment of reading. A wrong chart is usually discovered in a conference room, projected onto a wall at two metres wide, when someone points at a single bar and asks whether that value is 12 or 120.
What makes chart failures worse is that they rarely look wrong. When a model draws a line chart, it does not know whether the real value for the third quarter of 2024 was 8.6 or 8.9; it simply fills in a point that looks like it belongs there on the trend. Such a chart survives inspection perfectly well at thumbnail size, and collapses the moment someone reconciles the numbers against the source.
So this article is not about how to make a PPT with AI in general. It is about one thing: how to make the model draw correctly at the chart layer. The approach is to translate a vague instruction into a set of machine-executable specifications: chart type, data source, ordering, labelling, and title, each of which can be checked, questioned, and corrected by a human.
1.1 The common feature of all three failure families
Group the most common AI chart failures and a pattern emerges: they all come from the model completing a structure it does not fully possess.
- Decorative incorrect data. To make the chart look fuller, the model invents quarters that do not exist, comparison groups that do not exist, or a third series that is nowhere in the source data.
- Missing units. The vertical axis says "Value" instead of "GMV (10k CNY)", or the scale starts at 10 rather than 0, turning a real 8.6% swing into a 60% surge.
- Legend and colour chaos. Three lines get four colours, or the legend says "Product Line A" while the label on the line says "A Product", so the audience has to perform three matching operations before they can read the chart at all.
What unites these three is that none of them raise an error. The code runs, the chart renders, the deck is produced. The defect lives entirely in the dimension of "the chart does not match the intent", which is precisely the dimension automated validation covers worst — unless the intent is written down as a specification.
1.2 Three hard constraints on this article
To keep the discussion narrow and executable, every recommendation here is bounded by three constraints:
- Nothing is fabricated. No product feature lists, pricing figures, or hardware specifications appear here. Anything that genuinely requires external confirmation is marked "defer to official documentation", together with a method for verifying it yourself.
- Everything is decidable. Each rule must be checkable. The test for "is the chart right" is not "does it look good" but "do the point count, axis range, legend mapping, and unit labels match the source data".
- Everything is reusable. The core deliverables are a block of template text and a self-check script, not a pile of principles to memorise.
| Question | Covered here | Not covered, and why |
|---|---|---|
| Which model or tool to use | No | Tool choices churn; chart specifications do not. That belongs to comparative review work |
| How to structure the deck's narrative | No | Structure happens before charts and belongs to workflow design |
| Which chart type to use | Yes | Decidable criteria and the consequences of misuse |
| How to describe a chart to a model | Yes | The five-item instruction template |
| How to detect that a chart is wrong | Yes | Three failure modes plus a self-check script |
| Layout, fonts, brand colour | No | Visual design is orthogonal to chart correctness |
| Whether the underlying data is any good | No | Bad input faithfully propagated by a flawless chart is still bad |
2. Chart selection criteria: ask about the data relationship first
Most "chart type catalogues" present a list — line, bar, pie, scatter, heatmap — and tell you to pick. That list has a structural flaw: it puts the visual form first, when the correct order is to determine the relationship between the data first and let the relationship imply the form. Get the relationship wrong and no amount of visual polish saves you, because the error is the kind nobody corrects for you.
2.1 Six basic data relationships
Strip away the business context and chart needs collapse into six relationships, each with a default answer. The table is valuable because it lets you identify the relationship first and then look up the form, skipping the "pick the one that feels right" step entirely.
| Relationship | The underlying question | Default form | Why that form |
|---|---|---|---|
| Trend | How does a quantity move over time | Line chart | Time on the horizontal axis is continuous, so the slope of the segment naturally encodes rate of change |
| Composition | What is the whole made of, and what share is each part | Stacked bar chart | Total and parts are readable together; a pie shows only the total, and hides how composition shifts over time |
| Comparison | Which of several discrete objects is larger | Horizontal bar chart | Humans compare lengths along a shared baseline far more accurately than areas or angles |
| Distribution | Which ranges do the observations fall into | Histogram or box plot | An ordinary bar chart discards the binning semantics that make a distribution meaningful |
| Correlation | Do two variables move together | Scatter plot | Only a scatter plot exposes the joint distribution of two variables at once |
| Share | What is the composition at a single point in time | Pie or donut chart | The only form that conveys an immediate sense of the whole — provided there are very few categories |
2.2 What misuse actually costs: not ugliness, misreading
The cost of choosing the wrong form is rarely aesthetic. It is that the reader walks away with a wrong conclusion. Each of the following is a real failure mode, with the mechanism spelled out — knowing the mechanism is what lets you block it in the instructions.
- Line chart on discrete categories. Putting "Region A / Region B / Region C" on the horizontal axis and joining them with a line implies a continuous process or an ordering between them. No such semantics exist in the data, yet the chart manufactures one.
- Bar chart for a continuous trend. Twenty bars for twenty months force the reader to compare heights one at a time to recover the trend, which a line reveals at a glance. No information is added; cognitive cost rises sharply.
- Multiple pies side by side. The reader cannot track one category's share across the pies, because angle and radius both change at once. For composition over time, use a percentage stacked bar, or small multiples by category.
- Connecting scatter points. Joining points in sequence implies a causal trajectory or continuous process that does not exist. A line on a scatter plot is only legitimate when one of the axes really is a time series.
- Box plot reduced to a mean. Two groups with identical means can have completely different distributions. The business claim "average response time is the same, so the experience is the same" is wrong far more often than it is right.
- Truncated vertical axis. Starting the axis at 1180 instead of 0 turns a 2% rise into a dramatic 20% climb. This is the most common chart error and the one an auditor spots in a single glance.
2.3 The selection table and its prohibitions
The criteria above, condensed into a table you can paste into a work chat. Note the last column: prohibitions are more useful than recommendations, because a reader can correct a bad recommendation on their own, but a reader will never notice a violated prohibition.
| Relationship you want to express | Recommended form | Common misuse | Prohibition |
|---|---|---|---|
| Trend over time | Line chart, horizontal axis is real time | Bars for a continuous trend, hiding intermediate movement | Never insert a missing month that does not exist in the data |
| Multi-series trend | Several lines, or small multiples with one panel per series | More than five lines crammed into one coordinate system | Never distinguish more than five series by colour alone without faceting |
| Composition over time | Percentage stacked bar | Several pies side by side, of which only the first is readable | Never stack more than three layers without labelling the middle ones |
| Ranking of discrete objects | Horizontal bar chart, sorted descending | Vertical bars with slanted labels | Never leave the chart unsorted and make the reader hunt for the maximum |
| Distribution of values | Histogram with a declared bin width | Using a bar chart for a distribution | Never let bin width vary with image width |
| Comparing distributions | Side-by-side box plots | Overlapping histograms | Never show only the mean and omit the spread |
| Association between two variables | Scatter plot with a trend line | Joining points with a line, implying causation | Never fit a curve and report an R-squared on fewer than 30 points |
| Share at one point in time | Pie or donut, four categories or fewer | Still using a pie with five or more categories | Never use a pie to express the difference between two totals |
| Year-on-year or period-on-period | Grouped bars, or two lines with a zero baseline | A two-colour pie expressing "the growth part" | Never plot year-on-year and period-on-period on one axis without labelling the base |
| Funnel or conversion flow | Funnel chart, or layered bars with conversion rates annotated | Using area size to imply importance | Never treat funnel width ratios as literal quantity ratios |
2.4 A counter-intuitive conclusion: form choice is not a matter of taste
"Bar chart or line chart" is often treated as a style preference, which turns it into a taste argument with no conclusion. Once you decide by relationship, the question becomes decidable: is what sits on the horizontal axis continuous? If yes, use a line; if no, use bars. This single rule settles the large majority of form debates, and the table above handles the rest.
A second criterion is frequently overlooked: what is the first question the reader needs answered? "Who is largest" calls for a sorted bar chart; "when did it start going wrong" calls for a line; "are these two related" calls for a scatter. These three questions map onto three entirely different forms, and the answer is almost always already written in the business brief — no additional design work is required.
3. When a pie chart should be rejected
The pie chart is the most misused form in the entire catalogue, so it deserves a dedicated section on the conditions under which it should be rejected. Its default status is suspect: many templates reserve a slot for a pie in the palette, and over time that becomes the muscle memory of "percentages therefore pie". The problem is that this muscle memory plants a false intuition in the reader's mind — that sector area can be compared as precisely as length. It cannot.
3.1 What a pie can and cannot express
A pie chart does exactly one thing well: it lets a reader see at a glance which slice is the largest, and grasp the rough sense of overall share. It relies on human intuition about sector area and angle, and that intuition holds only under two conditions.
The first is a small number of categories. Human accuracy in judging angle and area is substantially lower than in judging length: in the ranking of visual encoding precision, position and length are high-precision encodings while angle and area are low-precision ones. The practical threshold is four to six slices. Beyond that, the reader must compare angles one at a time, and the pie degenerates into a shape that requires repeated decoding — at which point a table is simply better.
The second condition is that precise comparison is not required. If the question is "how much bigger is B than A", a pie will almost certainly give a wrong answer, because the angular difference between two sectors converts to percentage points with substantial error. The common remedy is to add percentage labels to the sectors. That does help with reading, but it also reveals something important: once you must label the pie to read it, you no longer need a pie.
The third case is the most insidious: when the series varies over time. With several pies side by side, the reader cannot track one category's share across periods, because angle and radius change simultaneously. For composition across time, the correct answers are a percentage stacked bar chart, or small multiple line charts split by category.
3.2 Four rejection conditions
Condense the above into a checklist you can apply directly. If any one condition holds, do not use a pie chart:
- Five or more categories. Switch to a sorted horizontal bar chart with data labels. The ordering matters: sorted descending, the reader finds the maximum immediately, which a pie cannot do.
- Two close values need comparing. Say 23% versus 21%, or 48% versus 47%. The reader will almost certainly misjudge these. A bar chart shows the difference even at one decimal place.
- A time dimension is present. Switch to a percentage stacked bar chart, or to small multiple line charts by category.
- Specific values must be labelled. Labels on a pie either crowd inside the sectors or require a thicket of leader lines, and readability collapses fast — especially when projected, where leader lines cross each other.
Conversely, when is a pie the right answer? When one category clearly exceeds all others, the remainder together falls below thirty per cent, and you only need to convey the impression of "one dominant player". Then a pie, or a cleaner donut, is the most effective form available. It is genuinely powerful at conveying that message; it is simply overused for everything else.
3.3 Alternatives and their trade-offs
Turning "reject the pie" into "use this instead" is what makes the rule executable. The table below gives the replacement and its cost — every substitution is a trade-off, and none is a free upgrade.
| Original intent | Better choice | Gain | Cost |
|---|---|---|---|
| Show composition | Horizontal bars with percentage labels | Precisely readable, sortable, long labels do not collide | Loses the sense of the whole; less visual impact than a pie |
| Highlight the single largest slice | One large number card plus small supporting text | Low information density, good for a summary slide | No longer a chart; unsuitable for comparing several periods |
| Compare composition across two periods | Percentage stacked bar chart | One category can be tracked across periods | Middle segments are hard to compare; needs annotation |
| Genuinely only three categories | Pie or donut chart | Immediate sense of the whole | Limited reading precision; never for precise comparison |
| Composition with more than five categories | Group the tail into "Other", plus bars | Main categories read clearly | Structure inside "Other" is invisible and must be explained in the note |
| Hierarchical composition | Treemap | Area encodes two levels at once | Qualitative comparison only; less precise than bars |
4. The five-item chart instruction template
The previous sections answered "what to draw". This section answers "how to say it". The core idea is to break a chart into five independently checkable specification slots, each written so the model has no room to improvise. The five are: type, data source, ordering, labelling, and title.
Why exactly these five? Because they cover every question a chart gets asked in a business setting — what is this, where did the data come from, why is the order like that, what is written on each bar, and what am I supposed to take away. Leave any one unspecified and the model fills it with its own default, and the model's defaults come from average-quality examples in its training data, not from your business.
4.1 The template in full
The block below is the central deliverable of this article. Save it as fixed text, fill in the five slots for each chart, and send the whole thing to the model. The template is deliberately verbose — verbosity in the instruction is cheap; verbosity in the chart layer is rework.
[CHART INSTRUCTION]
1. Type: <the chart type chosen from the selection table; state the subtype, e.g. "horizontal bar chart, sorted descending">
2. Data source: <origin and scope, e.g. "Q3 quarterly operating analysis table, region column + GMV column, 2024-01 to 2024-09, 9 rows">
3. Ordering: <sort key and direction, e.g. "sort by GMV descending; time series charts sort by time ascending, no value sorting">
4. Labels: <which annotations to show, e.g. "show value and unit at the end of each bar; no legend, series names labelled directly at the line ends">
5. Title: <main title + subtitle, e.g. "East China leads GMV for three consecutive quarters / cumulative Jan-Sep 2024, unit: 10k CNY">
[HARD CONSTRAINTS]
- Use only the rows and columns that actually exist in the data source. Do not complete, interpolate, extrapolate, or invent any additional data points
- The vertical axis or bar axis must carry a unit label. Do not use a truncated baseline unless this is a trend chart and the truncation is stated explicitly
- Each data series appears exactly once. No more than five series. Legend order must match drawing order
- Use a colour-blind-safe palette in which adjacent series remain distinguishable in greyscale
[SELF-CHECK OUTPUT]
After producing the chart, list each of the following: the actual number of data points plotted, the vertical axis range, the baseline value, and the mapping between legend entries and series. If any item does not match the data source, state the discrepancy before correcting it.
4.2 The five items explained
| Item | The specific problem it solves | How to write it | What goes wrong if you skip it |
|---|---|---|---|
| 1 Type | Whether the reader grasps instantly what the form expresses | Name the family and the subtype, say whether it is horizontal, say whether it is faceted | The reader has to reverse-engineer the semantics of the form, or misreads the relationship entirely |
| 2 Data source | Why this chart should be trusted | Table or file name, column names, row count, time range | The model uses placeholder data and the chart looks completely normal |
| 3 Ordering | What the reader sees first | Sort key, direction, how ties are handled | The maximum is buried in the middle and the conclusion is buried with it |
| 4 Labels | How precisely the reader needs to read | Which elements carry labels, where the unit lives, legend or direct labelling, never both | Labels collide, or the unit appears twice in both the axis title and every value label |
| 5 Title | What the reader should remember | Main title carries a concrete conclusion or number, subtitle carries scope and unit | The title reads "XX data analysis" and the reader leaves with nothing |
4.3 Hard constraints and self-check output: making the model account for itself
The two closing blocks of the template are the least glamorous and the most valuable part of the whole method.
The hard constraints turn "do not make mistakes" into "do not do these specific things". Models follow negative instructions far less reliably than positive specifications: "do not truncate the axis" is routinely ignored, whereas "the minimum value of the vertical axis must be 0" is checked item by item during self-verification. Negation is not useless, but it only lands when paired with a verifiable positive clause.
The self-check output turns validation from "a human looks at the chart" into "the model reports numbers". Ask the model to print, after the chart, something like "data points plotted: 81; vertical axis range: 0 to 3400; baseline: 0; legend: 3 entries mapping to Region A / B / C", and you have a checklist a human can verify line by line. Most decorative data errors surface at the point-count item, because the model alters the array while drawing but frequently forgets to update the count it declares.
Note that the self-check output is itself generated by the model and can be wrong in the same way. It does not replace human verification; it replaces the most tedious part of human verification, namely counting bars one by one. The correct use is to treat the self-check output as a checklist for human verification, not as a verdict.
4.4 Three anti-patterns when writing instructions
| Anti-pattern | Why it fails | Correct form |
|---|---|---|
| Writing the instruction as a wish | "Make it look professional" and "nice colours" have no checkable criterion, so the model can only guess at the average of what it has seen | Convert to verifiable statements: "two series in dark blue and orange, line width 2.5pt, no gridlines, label font 10pt" |
| Delegating the selection to the model | "Choose a suitable chart type" is the same as saying nothing; the model picks what it is most confident about, which is usually a bar chart | Decide the type yourself from the data relationship and write it into item 1, with the reason |
| Stating constraints only in the first round | Across a multi-round deck build, later charts silently lose the hard constraints, and quality degrades turn by turn | Put the hard constraints block at the top of every round, or fix it in the system prompt |
5. Three typical failure modes
The previous four sections covered how to do it right. This section covers what it looks like when it goes wrong. The three failure modes are not chosen arbitrarily: each corresponds to a different detection method. Decorative incorrect data is caught by counting points and reconciling extremes. Missing units is caught by reading the axis title. Legend and colour chaos is caught by checking the mapping between legend entries and series. Any error you can find in under a minute is not worth finding in the meeting room.
5.1 Failure mode one: decorative incorrect data
This is the most damaging of the three because it disguises itself best.
Typical symptoms: you supplied nine quarters of data and the chart shows twelve points; you supplied three regions and the chart shows five lines; you supplied one column of actuals and the figure note mentions "2023 comparison" with a set of numbers you never gave.
Why it happens: when generating plotting code, a model that finds your data "too thin" has several common filling strategies: extrapolating two or three points along the trend, adding a comparison group so the chart looks richer, or filling missing quarters with zero or the average. All of these are routine in the chart tutorials that dominate the training corpus, because tutorial example data is always comfortably full.
The subtlest variant changes semantics while leaving every number intact. A source value of 0.086 meaning 8.6% gets labelled 0.086, or a column denominated in "10k CNY" gets converted to "CNY" and multiplied by ten thousand. The chart is arithmetically right and semantically wrong. The characteristic of this class is that every number can be found in the source data, but the mapping between them has been quietly altered. A check that only asks "does this number appear in the source" therefore cannot catch it.
Detection: three moves. First, count the data points and compare against rows multiplied by series; this is the cheapest, and 81 points against an expected 81 is unmistakable. Second, reconcile the extremes: the maximum and minimum of the source data must be exactly the highest and lowest points on the chart, since the model's fabrication typically produces more extreme values. Third, check the dimension: take any labelled point and divide the chart value by the corresponding source cell — the ratio must be identical across all points and a power of ten if a unit conversion happened.
| Check | How to compute it | Criterion | What a mismatch indicates |
|---|---|---|---|
| Total data points | Count the marks on the chart | Equals rows multiplied by series | The model added or dropped data |
| Number of series | Count legend entries or end-of-line labels | Equals the number of source fields | The model invented a comparison group |
| Extremes | Compare the source maximum against the highest plotted point | Exactly equal | The model smoothed, clipped, or extrapolated |
| Dimension consistency | Ratio of chart value to source value at several points | All ratios equal, and a power of ten | Either the conversion is right, or it is wrong but consistently wrong |
| Label unit | Read the unit on the value labels | Matches the source column definition | 0.086 treated as 8.6% or the reverse |
5.2 Failure mode two: missing units and broken magnitudes
Typical symptoms: the vertical axis title says "GMV" rather than "GMV (10k CNY)"; or there is no axis title at all, just a column of numbers; or the ticks read 0.02, 0.04, 0.06 while the subtitle says "growth rate", leaving the reader to decide whether that means 6% or 0.06%.
Why this class is so damaging: it does not change the shape of the chart, so a quick glance never reveals the problem, yet it changes the conclusion. Whether the axis starts at zero or at 1180 decides whether a 2% rise looks routine or explosive. Whether the axis title names a unit decides whether "12" means twelve yuan, twelve thousand yuan, twelve per cent, or twelve times.
Three sub-classes, handled separately:
- Unit absent. The axis title names only the metric. Easiest to catch, because reading an axis title takes two seconds.
- Magnitude converted without annotation. The source says 12345, the model renders it as 1.2万, and the axis title still says "CNY". The reader interprets yuan and the chart is wrong by three orders of magnitude.
- Baseline truncation. The axis starts at 1180 rather than 0. This is the easiest for a non-expert to miss, because the chart itself is perfectly normal — it was done deliberately, to "highlight the change". The only test is whether the minimum value of the vertical axis is zero. When the data genuinely cannot start at zero (rates, indices, share prices), truncation is legitimate, but it must carry a break marker on the axis and an explanation in the note.
Detection: read three places: the axis title, the subtitle, and the figure note. Any one of them that mentions a unit without naming it concretely (a "unit: 10k CNY" with no value, for instance) fails. The unit should appear exactly once: in the axis title, with the value labels carrying only the number. Repeating "1,240万元" on every bar produces a dozen copies of the same word on one slide.
5.3 Failure mode three: legend and colour chaos
Typical symptom one: the legend does not match the series. The legend reads "East China, North China, South China" while the labels at the line ends read "Region A, Region B, Region C". Two naming systems coexist and the reader must build the mapping mentally. This is common model behaviour, because the legend comes from one list and the direct labels from another string, and the two never got aligned.
Typical symptom two: not enough colours. You have seven regions, the model pulls from a colour list, and the seventh colour cycles back to the first. Two regions then share a colour: the legend shows two distinct entries, the chart shows one colour, and the mismatch is invisible until someone traces the lines.
Typical symptom three: the colours themselves are unreadable. On a pale projector, the low-saturation blue-greys that models favour fade almost to nothing. And a red-green pairing fails for roughly eight per cent of men with colour vision deficiency; when the chart's meaning is "growth versus decline" and those two happen to be the colours, the problem lands directly on the most important information in the figure.
Detection: convert the chart to greyscale and look again — the fastest test of whether colour is carrying meaning on its own. A scheme that survives greyscale is good enough; otherwise line style and marker shape must participate in the distinction too. Also check colour uniqueness: the number of series must not exceed the length of the palette, and legend order must match drawing order.
One easily missed detail: when there are three or fewer series, direct labelling almost always beats a legend. A legend forces the reader to shuttle their gaze between the plot and the key; a direct label puts the name on the line itself, which needs one glance. This is why item 4 of the template says "legend or direct labelling, not both" — not that both are wrong, but that using both guarantees they will disagree.
6. Why AI-generated charts go wrong in particular
The previous sections covered prevention. This section covers mechanism, because once you understand it you will see that most failures are the model's optimisation objective at work rather than the model being confused.
6.1 The model optimises for "looking like a chart", not for "being a correct chart"
The training objective of chart generation is essentially to make the output "look, in distribution, like a plausible chart". Plausibility is learned by pattern matching: a line chart has several points, a pie has several sectors, a comparison chart has at least two series, a bar chart has clear differences in height. When your source data is sparse, the model completes the pattern, because "not full enough" is a shape that appears less often in the training data.
This explains a counter-intuitive effect: the more regular your data, the less likely the model is to invent anything. Give it a full matrix of nine quarters by nine regions and it has no motive to complete; give it "three points for two regions" and it may judge the chart too thin and add a line of its own.
The practical consequence: give the model a complete matrix, not a summary. Even for cells you do not intend to plot, keep them in the data source, and say so explicitly — "columns 5 and 6 are deliberately excluded" — so the model knows they were omitted on purpose rather than missing.
6.2 A preference for visual hierarchy quietly alters data semantics
The model has seen a great many attractive charts, and attractive charts have their own statistical character: series that do not cross too often, no very long labels, harmonious colours, axis ranges that hug the data. The model drifts towards these without being asked.
The consequences are each individually subtle:
- Outliers get smoothed away. A genuine extreme event — a system outage that cut GMV to a third of its usual level — disrupts the visual rhythm, and the model may quietly "adjust" it. Absent an explicit instruction, the model favours the smoother line.
- Gaps in time get filled. If a quarter is genuinely absent (the business did not operate), the model treats it as zero or interpolates along the trend. The two treatments mean completely different things in business terms, yet on the chart they differ by one mark.
- Baselines shift for a better look. An axis starting at zero often flattens a line, and the model sometimes truncates to give the chart more tension. That is defensible as chart aesthetics and indefensible as business communication.
This is why the hard constraints in the template are not optional politeness. They exist to counter the model's default pull towards making the chart prettier.
6.3 Correlation gets drawn as causation
This one sits closer to the content layer, but it is the most expensive error at the chart layer, because the title is what the reader carries away.
The model has a strong tendency: when it sees two lines moving in the same direction, it writes "A drove B" or "B is the primary driver of A" into the title. Such statements have no statistical foundation — two curves rising together may simply share a seasonal factor.
Worse, the form itself actively amplifies the misreading. In a side-by-side two-line chart with aligned axes, the crossing point is drawn sharply and the reader takes away a strong sense that a relationship happened there. The same data as a scatter plot with a fitted line misleads less; a single line against a benchmark misleads almost not at all.
| What you actually know | What the title may say | What the title may not say |
|---|---|---|
| Two lines rise together | A and B grew in step | A drove B |
| B always moves after A | B's movement lags A by about two weeks | A's delay causes B to change |
| You have an experiment or quasi-experiment | Group B averaged 8.4% higher after the intervention | With causal identification, causal language is permitted |
| Correlation only, no identification strategy | The two are positively correlated | Any form of causal verb |
6.4 The information-density gap between tables and charts
One more mechanism is easy to overlook: the model tends to turn data that should be a table into a chart. Because charts are far more common than tables in its training data, and more "PPT-shaped", the model draws something whenever it can find a graphical relationship to hang on. But some data should not be visualised at all.
Typical unsuitable cases: a summary of three rows and two columns; a lookup table where the reader needs to find one specific value; a list of categories with very long names. Turning these into charts loses precision and readability at once — the reader wanted to "find row 42", and the chart took that capability away.
The test is simple: if the reader's task is lookup rather than comparison, use a table. Comparison takes charts; lookup takes tables. This rule needs no knowledge of chart design to apply.
7. Worked example: four renderings of one dataset
The template so far has been abstract. This section fills it in with a concrete dataset and produces four different instruction sets for the same data — four charts, four instruction sets. This is the best way to test whether a template is genuinely usable: if you can write four different instruction sets for one dataset in a few minutes, the template does its job.
7.1 The data source and the four relationships
Suppose the source is a quarterly operating table: nine quarters (Jan to Sep 2024) by nine regions, each cell holding GMV in units of 10k CNY. Two derived series are available: year-on-year deltas by region, and weighted renewal rates for the two focus regions.
| Figure | Relationship being expressed | Form | Specifications that must be stated |
|---|---|---|---|
| A | Magnitude comparison across regions | Horizontal bar chart | Sorted by value, value at bar end, single series |
| B | Time trend for one region | Line chart | Real quarters on the horizontal axis, extremes annotated, vertical axis from zero |
| C | How the overall composition evolves by quarter | Percentage stacked bar chart | Fixed stacking order, only the largest and smallest segments labelled |
| D | Association between renewal rate and scale | Scatter plot | Point area encodes a third dimension, no connecting lines |
7.2 The four instruction sets in full
Below, the five-item template is filled in for real. The four sets share one hard-constraints block, which is exactly the intent of the design: the hard constraints are written once and apply to all four charts.
[FIGURE A - relationship: comparison]
1. Type: Horizontal bar chart, current period (dark blue) and prior-year period (light blue) as a paired comparison, value shown at the end of the current bar
2. Data source: Q3 regional operating table region_operating.csv, columns region / gmv_wan / gmv_wan_ly / delta_wan, 9 rows
3. Ordering: Sort by gmv_wan descending; within each pair the current period sits above the prior-year period
4. Labels: Show "1,240" at the bar end with the unit carried only by the axis title; no legend; in the top right use two colour swatches with the text "Current period / Prior-year period"; do not label prior-year values
5. Title: Main title "East China contributes 41% of this quarter's growth"; subtitle "Cumulative Jan-Sep 2024, unit: 10k CNY; prior-year period is the same span of 2023"; note "Source: Q3 regional operating table"
[FIGURE B - relationship: trend]
1. Type: Line chart, horizontal axis is the nine calendar quarters, vertical axis is GMV; the nine regions are faceted as small multiples, one line per panel
2. Data source: as above, columns quarter / gmv_wan / region, 9 quarters x 9 regions = 81 data points
3. Ordering: Horizontal axis sorted by quarter ascending; no value sorting
4. Labels: No legend; write the region name at the top left of each panel; annotate the value and quarter of the highest and lowest point in each panel
5. Title: Main title "East China leads for three consecutive quarters, but its growth peaked in Q2"; subtitle "Cumulative GMV Jan-Sep 2024, unit: 10k CNY; the lunar new year effect in February 2023 has been removed"
[FIGURE C - relationship: composition]
1. Type: Percentage stacked bar chart, horizontal axis is the nine quarters, vertical axis runs from 0% to 100%
2. Data source: as above, columns quarter / gmv_wan / region
3. Ordering: Horizontal axis sorted by quarter ascending; stacking order fixed as East China, North China, South China, Central China, Southwest, Northwest, Northeast, Other, and never reordered between quarters
4. Labels: No legend; label only the largest and the smallest segments; list the regions included in "Other" in the figure note
5. Title: Main title "East China's share falls from 38% to 31% while the other regions all gain"; subtitle "Each region's GMV as a share of that quarter's total, unit: %"
[FIGURE D - relationship: correlation]
1. Type: Scatter plot, horizontal axis is cumulative GMV for Jan-Sep 2024, vertical axis is weighted renewal rate; point area encodes the number of quarters
2. Data source: as above, plus column renewal_rate_9m, 9 data points
3. Ordering: No sorting; do not connect points and do not draw a fitted line
4. Labels: Label only the three points that need naming; the axes start at their true minimums (not forced to zero) and carry break markers
5. Title: Main title "Two of the three largest regions have renewal rates below 88%"; subtitle "Horizontal: cumulative GMV Jan-Sep 2024, unit: 10k CNY; vertical: weighted renewal rate, unit: %"
[SHARED HARD CONSTRAINTS]
- Use only the rows and columns that actually exist in the data source. Do not complete, interpolate, extrapolate, or invent any additional data points
- The vertical axis or bar baseline must start at zero on every chart. If a line chart's vertical axis must be truncated, draw a break marker on the axis and explain it in the figure note
- Every vertical axis or value label must carry a unit. Percentage axes show whole-number ticks, never decimals
- Fixed palette: East China dark blue, North China orange, South China teal, Central China magenta, Southwest purple, Northwest grey, Northeast brown, Other light grey
- Each series appears exactly once; legend order matches stacking order
- After generating, report per chart: number of data points, vertical axis range, baseline value, and the mapping between legend entries and series
7.3 The distinct failure point of each figure
Worth isolating: the same data, a different form, produces a different failure point. This is why a chart specification can never be settled once and for all; every time the relationship changes, you have to ask again how it could go wrong here.
- Figure A's failure point: in a paired bar chart, if the two bars have inconsistent widths or are offset by half a unit, the reader misreads the gap as a value difference. This is a plotting-code detail, so the instruction has to state the spatial relationship — "the current period sits above the prior-year period" — rather than "two bars per group".
- Figure B's failure point: if each panel of the small multiples picks its own vertical axis range automatically, the same height means different values in different panels and cross-panel comparison collapses. Either unify the ranges or label the range in each panel. "All panels share one vertical axis range" in the instruction prevents this.
- Figure C's failure point: if the stacking order changes between quarters, the East China segment jumps up and down the chart and the reader cannot track it. Item 3 of the template says "stacking order fixed" precisely to prevent this.
- Figure D's failure point: scatter plots are the form most likely to acquire a trend line. Adding one turns "correlated" into "correlated with a fitted relationship", which readers naturally read as predictive. Stating "do not draw a fitted line" works better than explaining afterwards.
7.4 Put the figure note in the instruction too
Most people write instructions for the chart itself and forget the note. But the note is the only place that carries scope, source, and caveats, and the model almost never writes one by default.
Treat it as a hidden sixth item, always containing three parts: data source (table or file path), scope (time range, what is included, what was excluded), and processing (whether seasonal adjustments were made, whether the figures are cumulative). The third matters most, because a treatment such as "the lunar new year effect has been removed" that lives only in your head makes the chart wrong to everybody else.
The note should also record the generation and review status of the figure — for example "Source: Q3 regional operating table; values generated by script, not yet manually verified". This is not merely a disclaimer: in a multi-person workflow it stops someone else from reusing the figure in error, and it can be replaced with "verified" once review is done.
8. Code generation paths: matplotlib and python-pptx
The first seven sections covered what to say. This section covers how it lands. A chart has to end up as an image or a native chart object inside a deck, and that requires code. This code is the only part of the whole specification that can be fully checked automatically, which is why it deserves its own section.
8.1 Two paths and the trade-off between them
There are two technical routes for putting a chart into a deck. The difference between them is not aesthetic; it is about editability, verifiability, and file size.
| Dimension | Path A: render an image, then insert | Path B: write a native chart object |
|---|---|---|
| Implementation | matplotlib produces a PNG or SVG, inserted with add_picture | python-pptx add_chart writes chart XML into the package |
| Visual control | Total: label placement, spacing, fonts, margins all controllable to the pixel | Limited by the PowerPoint rendering engine; fewer adjustment points |
| Editability | It is an image after insertion; the data cannot be changed | Double-clicking opens the data for editing in PowerPoint |
| File size | A 1200x700 PNG runs to a few hundred KB; it accumulates across slides | Chart XML is small; a few dozen charts barely register |
| Verifiability | High: assertions can run against the image and the data at the same time | Low: the object must be read back and its XML inspected |
| Best for | Key slides needing fine layout, cover metrics, external-facing material | Internal decks where someone will tweak the figures later |
The practical recommendation: Path A for key slides, Path B for everything else. Path A costs file size and editability; Path B costs visual control. If a deck contains twenty or more charts, using PNG for all of them makes both the file size and the cost of later adjustment noticeably worse.
8.2 Path A: matplotlib, rendered and inserted
Below is a skeleton you can adapt directly. It translates the specification of this article into concrete parameters: the baseline is forced to zero, the unit lives in the axis title, the palette is fixed, legend and direct labelling are mutually exclusive, and the point count is asserted.
import matplotlib
matplotlib.use("Agg") # required before pyplot in a headless container
import matplotlib.pyplot as plt
from matplotlib.ticker import FuncFormatter
# Colour-blind-safe sequence (first seven of the Paul Tol bright scheme).
# Fixed order, never cycled.
PALETTE = ["#4477AA", "#EE6677", "#228833", "#CCBB44", "#66CCEE", "#AA3377", "#BBBBBB"]
assert len(PALETTE) >= 7, "palette too short; adding series means adding colours"
def make_bar(regions, values, unit="10k CNY", title="", subtitle=""):
# 1) Integrity checks: point count must match the input, no non-finite values
assert len(regions) == len(values), "data point count does not match labels"
assert all(isinstance(v, (int, float)) for v in values), "non-numeric value present"
# 2) The caller decides the order. This function only draws, so that the
# order on the chart can never disagree with the order in the instruction.
fig, ax = plt.subplots(figsize=(7.2, 4.0), dpi=200)
bars = ax.barh(regions, values, color=PALETTE[0], height=0.62)
ax.invert_yaxis() # with a descending sort, the maximum ends up on top
# 3) Baseline forced to zero. This is what stops the "nicer looking" truncation.
ax.set_xlim(0, max(values) * 1.18)
ax.set_xlabel(unit, fontsize=11) # the unit appears here and nowhere else
ax.xaxis.set_major_formatter(FuncFormatter(lambda v, p: f"{v:,.0f}"))
# 4) Value labels at the bar ends: numbers only, since the axis carries the unit
for b, v in zip(bars, values):
ax.text(b.get_width() + max(values) * 0.015,
b.get_y() + b.get_height() / 2, f"{v:,.0f}",
va="center", fontsize=10)
# 5) Remove everything that is not needed: no top/right spines, no vertical gridlines
for s in ("top", "right"):
ax.spines[s].set_visible(False)
ax.xaxis.grid(True, color="#DDDDDD", linewidth=0.6)
ax.set_axisbelow(True)
# 6) Title: main title on the axes, subtitle and source as figure-level text
# placed outside the plot area
ax.set_title(title, loc="left", fontsize=13, pad=22)
fig.text(0.125, 0.885, subtitle, fontsize=9, color="#555555")
fig.tight_layout(rect=(0, 0.06, 1, 0.95))
return fig
fig = make_bar(
regions=["East China", "North China", "South China", "Central China", "Southwest"],
values=[1240, 890, 720, 430, 310],
title="East China contributes 41% of this quarter's growth",
subtitle="Cumulative Jan-Sep 2024, unit: 10k CNY; prior-year period is the same span of 2023",
)
fig.savefig("chart_a.png", dpi=200, bbox_inches="tight")
fig.savefig("chart_a.svg", bbox_inches="tight") # vector output stays sharp when projected
8.3 Path B: writing a native chart with python-pptx
The key to Path B is overriding every default explicitly in code. Many python-pptx properties are left to PowerPoint's own judgement when unset, and that judgement is the source of classic problems such as a legend landing in the middle of the plot area.
from pptx import Presentation
from pptx.util import Inches, Pt
from pptx.chart.data import CategoryChartData
from pptx.enum.chart import XL_CHART_TYPE, XL_LABEL_POSITION
from pptx.dml.color import RGBColor
prs = Presentation()
slide = prs.slides.add_slide(prs.slide_layouts[6]) # 6 is the blank layout
cd = CategoryChartData()
cd.categories = ["East China", "North China", "South China", "Central China", "Southwest"]
cd.add_series("Cumulative GMV Jan-Sep 2024", (1240, 890, 720, 430, 310))
left, top, width, height = Inches(0.8), Inches(1.6), Inches(11.7), Inches(4.6)
gf = slide.shapes.add_chart(XL_CHART_TYPE.BAR_CLUSTERED, left, top, width, height, cd)
chart = gf.chart
# 1) Turn off everything that would otherwise be decided for you
chart.has_title = False
chart.has_legend = False # a single series needs no legend
chart.value_axis.has_major_gridlines = True
chart.value_axis.major_gridlines.format.line.color.rgb = RGBColor(0xDD, 0xDD, 0xDD)
chart.value_axis.major_gridlines.format.line.width = Pt(0.75)
# 2) The baseline and range must be written out. python-pptx will not guarantee
# a zero baseline on your behalf.
chart.value_axis.minimum_scale = 0.0
chart.value_axis.maximum_scale = 1600.0
chart.value_axis.major_unit = 400.0
# 3) Axis title: the unit lives here, and only here
chart.value_axis.has_title = True
chart.value_axis.axis_title.text_frame.text = "GMV (10k CNY)"
chart.value_axis.axis_title.text_frame.paragraphs[0].runs[0].font.size = Pt(11)
chart.category_axis.has_title = False
# 4) Data labels: numbers only, no unit
plot = chart.plots[0]
plot.has_data_labels = True
dl = plot.data_labels
dl.position = XL_LABEL_POSITION.OUTSIDE_END
dl.number_format = "#,##0"
dl.number_format_is_linked = False
dl.font.size = Pt(10)
# 5) Series colour from the fixed palette
SERIES_RGB = [RGBColor(0x44, 0x77, 0xAA)]
for series, rgb in zip(chart.series, SERIES_RGB):
series.format.fill.solid()
series.format.fill.fore_color.rgb = rgb
# 6) A bar chart puts the first category at the bottom. To get the largest on top,
# sort the data before building the chart rather than trying to flip the axis
# (python-pptx does not expose an axis reversal switch directly).
# i.e. order the categories and the series values in the intended order first.
# 7) Title and source go in text boxes outside the chart, so they never eat
# into the plot area
tb = slide.shapes.add_textbox(left, Inches(1.05), width, Inches(0.5))
p = tb.text_frame.paragraphs[0]
run = p.add_run(); run.text = "East China contributes 41% of this quarter's growth"
run.font.size = Pt(20); run.font.bold = True
tb2 = slide.shapes.add_textbox(left, Inches(6.25), width, Inches(0.35))
p2 = tb2.text_frame.paragraphs[0]
r2 = p2.add_run()
r2.text = "Cumulative Jan-Sep 2024, unit: 10k CNY | Source: Q3 regional operating table"
r2.font.size = Pt(10); r2.font.color.rgb = RGBColor(0x66, 0x66, 0x66)
prs.save("deck.pptx")
9. The self-check script: turning the specification into executable checks
Everything in the first eight sections should ultimately land in a check that actually runs. The reason is simple: when a person inspects a chart, their attention is captured by the content of the chart, whereas a script only recognises rules. Having the model run a check immediately after rendering costs almost nothing and catches a great deal.
9.1 Three gates: axis, units, legend
Reduce the detection items from section 5 into three automated gates, each aimed at one of the most common failures:
- Gate one, the axis. Is the baseline zero (unless truncation is explicitly permitted)? Does the range fully contain the data? Has a normalised axis been mistaken for a raw one?
- Gate two, units. Does the axis title name a concrete unit? Are percentages rendered as decimals? Has "10k" been confused with "items"?
- Gate three, the legend. Does the number of legend entries equal the number of series? Do the legend labels match the series names character for character? Are any colours duplicated?
Beyond these three gates there is a fourth that must stay with a human: data consistency, whether every plotted value equals the source value. This is hard to automate because the script cannot reach into the array the model held in its head — unless you feed the data in yourself and compare, which is exactly where Path A has the advantage: the same function both draws and asserts.
9.2 The check script
The script below demonstrates writing the checks as assertions. The design principle is that a failure raises specific information rather than printing "check failed", so the model can read the message and fix itself.
import matplotlib.pyplot as plt
def audit_figure(fig, ax, *, n_points, n_series, axis_title,
unit_required=True, legend_labels=None, series_colors=None,
allow_truncated_axis=False):
"""Structural self-check for a matplotlib figure. Raises on failure."""
problems = []
# Gate one: the axis
ymin, ymax = ax.get_ylim()
if not allow_truncated_axis and abs(ymin) > 1e-9:
problems.append(f"vertical baseline is {ymin:.4g}, expected 0 (truncation exaggerates the difference)")
plotted = [abs(v) for l in ax.lines for v in l.get_ydata()]
if plotted and ymax < max(plotted):
problems.append("vertical axis maximum is below the largest data value, so data is clipped")
if allow_truncated_axis and ymin > 0:
problems.append("note: truncation is allowed, confirm a break marker is drawn and the note explains it")
# Gate two: units
label = ax.get_ylabel() if axis_title == "y" else ax.get_xlabel()
if unit_required:
if not label:
problems.append("no axis title, so the unit cannot be determined")
else:
units = ("%", "10k", "100M", "CNY", "USD", "items", "people", "times", "days")
if not any(u in label for u in units):
problems.append(f"axis title '{label}' contains no concrete unit")
# Gate three: legend and series
handles, labels = ax.get_legend_handles_labels()
if n_series > 1:
if not handles:
problems.append("multiple series but no legend and no direct labelling")
if legend_labels is not None and sorted(labels) != sorted(legend_labels):
problems.append(f"legend labels {labels} do not match series names {legend_labels}")
if series_colors is not None:
if len(set(series_colors)) != len(series_colors):
problems.append(f"duplicate colours present: {series_colors}")
if len(series_colors) != n_series:
problems.append(f"colour count {len(series_colors)} does not match series count {n_series}")
# Point count
total = sum(len(l.get_ydata()) for l in ax.lines)
if total and total != n_points:
problems.append(f"plotted {total} data points, expected {n_points} (the model may have invented data)")
if problems:
raise AssertionError("chart self-check failed:\n" + "\n".join("- " + p for p in problems))
return True
9.3 Where to run the check
The value of a check script depends entirely on when it runs. Three candidate positions have different effects:
| Where the check runs | What it catches | What it cannot catch | Cost |
|---|---|---|---|
| Immediately after rendering | Structural errors: baseline, units, legend, point count | Whether the title's claim is supported by the data | Almost zero, it is already inside the generation flow |
| Before human review | The same, and the data can also be sent along for comparison | Causal misreading in the conclusion | Low, one more script run |
| After exporting the deck, read back | Text overflow, oversized images, missing chart objects | Semantic problems inside the chart | Medium, read-back logic has to be written |
The one most worth adding is the third: export the deck, then read it back with python-pptx and check the number of graphics on each slide, whether image dimensions exceed the canvas, and whether any text box runs past the edge. This catches a class of problem that is completely invisible from the single-chart viewpoint: the chart is perfectly fine, but it was placed off the canvas.
10. Division of labour between AI and humans
Compressing the first nine sections into one sentence: AI is good at turning clearly structured data into a clearly structured chart, and bad at deciding whether the chart should exist and what it proves. The division of labour should follow that line rather than the line of "AI is less work".
10.1 The division table
| Stage | AI is good at | A human must do | Warning sign |
|---|---|---|---|
| Reading and tidying data | Converting a table into a plotting-ready structure | Confirming scope and definition are right | Rows or columns misaligned, periods discontinuous |
| Form selection | Proposing candidate types for a relationship | Making the final call and owning the explanation | A form that can be drawn but does not express the relationship |
| Writing instructions | Filling in the template | Deciding what this chart is meant to say | A title with no conclusion in it |
| Rendering | Generating code and charts | — | — |
| Numeric verification | Running the self-check script | Sampling key points and extremes | The script passes but values are still wrong |
| Expressing the conclusion | Drafting candidate titles | Deciding which claims the data supports | Causal verbs in the title |
| Readability | — | Projecting it, checking greyscale | Series become indistinguishable in a greyscale print |
10.2 Why verification has to stay with a human
The self-check script can examine structure. It cannot examine meaning. Three classes of error are structurally perfect:
- Wrong column. Plotting the GMV column and the order count column on the two axes of one chart. The point count, the baseline, and the legend are all correct; what the chart expresses is a relationship that does not exist.
- Mismatched scope. The current period is cumulative January to September, while the prior-year comparison is cumulative January to August. The two charts sit side by side, every number is correct, and the conclusion is entirely wrong.
- Over-interpretation. Writing "East China's share fell from 38% to 31%" as "East China is losing momentum", or "the other regions rose" as "the other regions are taking over".
What unites these three is that they all live in the semantic link between the chart and the data, and that layer is not written down in any field. The only reliable remedy is to have someone who knows the business read the title and the note and then ask one question: what is this chart trying to tell me, and do the numbers support it?
10.3 A reusable review checklist
Compressing human review into a checklist that takes five minutes is worth more than ten pages of specification:
- Count the points. How many data points are on the chart, and does that match rows times series in the source?
- Read the axes. Does the vertical axis start at zero? Does the range contain all the data? Is the unit stated?
- Read the legend. Do the legend labels match the series names? Are any colours duplicated?
- Read the title. Is every number in the main title findable on the chart? Does it contain words like "drove" or "caused"?
- Read the scope. Do the time range in the subtitle and the note match the data?
- Look at it projected. On a real projector or a greyscale print, are the labels still legible?
11. Boundary conditions and inapplicable scenarios
The method here has clear boundaries. Stating them plainly is more useful than offering three more tips.
11.1 Six scenarios where this does not apply
| Scenario | Why the method does not fit | What to do instead |
|---|---|---|
| Large reports with more than 20 charts | A per-chart instruction template gets unwieldy and filling it by hand costs too much | Define a chart inventory and a shared template, generate in bulk, then review centrally |
| Real-time dashboards and monitoring | There is no generate-then-accept window, so the self-check model does not apply | Fix the specification in the data pipeline and the rendering service rather than in instructions |
| Highly customised visual design | The template suppresses the model on layout, which is the point in that context | Give a reference image to imitate, then tighten it by hand |
| No source data at all | The model can only invent data | Refuse to produce a chart, or label it clearly as illustrative and keep it out of the body of the deck |
| An existing strict master template system | A parallel set of specifications will conflict with the master | Fold the master rules into the instruction instead of running two systems |
| Exploratory analysis | You do not yet know what to look at, and fixing the form too early limits the thinking | Explore freely first, then produce the final version against this specification |
11.2 A note on "nothing fabricated"
This article repeatedly insists on not fabricating product features, prices, or hardware parameters. The constraint looks conservative, but the reason is that this kind of information expires far faster than technical documentation: pricing windows, model aliases, and context limits can all change within weeks. Wherever a concrete figure is genuinely required, defer to the official documentation and state how to verify it: which page to check, which field to read, how to test it yourself.
Likewise, the colour palette, font sizes, and DPI figures given here are conservative starting points rather than standards. What they share is that they are conservative values with an explicit reason behind them, not industry-wide rules. When you swap in your own brand standards, keep the reasoning behind them and it will still hold.
12. Turning the specification into shared team assets
Getting one chart right is not hard. Keeping twenty charts right across a quarter is. That requires the specification to exist in a form the team can maintain.
12.1 Templates, examples, and checklists
A chart specification that survives contact with a team needs at least three components, and the absence of any one is fatal:
| Component | What it does | How it is maintained | Typical failure |
|---|---|---|---|
| Instruction template | Saves the person writing the instruction from reinventing the five slots | Kept in a project document or the system prompt, versioned on each change | The template changes but nobody is told, so charts keep the old behaviour |
| Worked examples, good and bad | Lets people recognise the shared features of an acceptable chart at a glance | Pulled from real decks each quarter | The examples chosen are too perfect and bear no resemblance to daily work |
| Review checklist | Turns acceptance into a fixed routine | Updated in step with the self-check script | The checklist degenerates into a box-ticking exercise nobody really looks at the chart for |
12.2 One realistic recommendation
If you can only do one thing, fix the "self-check output" block in the system prompt. It adds almost no cost, but it makes the model report the data point count, the axis range, and the legend mapping on every single chart — and those three items happen to catch the most common and hardest-to-see errors.
13. Conclusion: treat a chart as a deliverable that must be accepted
Back to where this started: the error rate of AI-generated decks is highest at the chart layer, not because the model cannot draw, but because a chart is a deliverable that must be accepted, and almost every workflow performs only the "generate" step.
Everything in this article reduces to three actions: determine the relationship before choosing the form, write the intent down in five specification slots, and verify the result twice — once with a script and once with a checklist. The first action prevents a wrong choice of form, the second prevents the model improvising, and the third stops the error from reaching the meeting room. All three are cheap, but without any one of them the chart reverts to the state of "looking correct".
One last reminder: the value of a chart specification is not that it makes AI never fail, it is that it makes failure visible and cheap. A chart with eight data points takes under two minutes to verify by hand; a faceted chart with 81 points can take half an hour, and during that half hour the human still misses things. A script never misses — it simply tells you "there are 81 points, you expected 81, passed".
Handing the most expensive verification to the cheapest executor is the single most transferable lesson here.