DS-201d · Module 5

Where AI Visualization Fails (And How to Catch It)

4 min read

AI tools fail at visualization in predictable ways. Knowing the failure modes before you encounter them turns a frustrating debugging session into a quick correction. These are the seven most common failures, ranked by how often they occur in practice.

  1. Failure 1: Wrong Aggregation The AI averages when it should sum, or sums when it should count distinct. Revenue should be summed across regions. Satisfaction scores should be averaged. Count of tickets is distinct from sum of resolution hours. Always specify the aggregation in your prompt: "Sum revenue by quarter" not "show revenue by quarter."
  2. Failure 2: Axis Mismatch Categories on the wrong axis, inverted scales, or ordinal data treated as categorical. Priority levels (Critical/High/Medium/Low) have a natural order — if the chart shows them alphabetically, the visual story breaks. Specify axis ordering in the prompt.
  3. Failure 3: Color Inconsistency The same category gets different colors across charts in a dashboard. CloudBase is cyan in chart one and amber in chart two. This is common when asking ChatGPT to add charts incrementally — each prompt may reassign colors. Define a color mapping once and reference it in every prompt. Claude Artifacts tend to maintain consistency within a single dashboard render.
  4. Failure 4: Label Overlap Data labels that overlap each other or the data points. Neither tool handles label collision well. Solutions: reduce label count (show only the highest and lowest), rotate labels 45 degrees, or use a tooltip-style annotation for dense data.
  5. Failure 5: Misleading Scales Two charts side by side with different y-axis scales that make $100K and $400K bars look the same height. Always specify: "Use the same y-axis scale across all panels" when building multi-chart layouts. In ChatGPT scripts, add sharey=True to plt.subplots().
  6. Failure 6: Phantom Data The AI generates data points that are not in the source. This happens more often with complex aggregations — the AI calculates a percentage or ratio incorrectly and plots the wrong value. Spot-check at least three data points against the source CSV. In ChatGPT scripts, you can add print() statements to verify intermediate calculations.
  7. Failure 7: Chart Type Default The AI ignores your chart type request and defaults to a bar chart. This happens when the data shape does not match the requested chart type cleanly. Be explicit: "I specifically want a violin plot, not a box plot, not a bar chart. If the data does not support a violin plot, explain why."