GoodPrompts
Main navigation
Task tutorials

Natural-language data visualization

Choose a chart from the question, data shape and comparison being made.

Sources checked

How to use it

  1. Provide a data sample, schema, units and aggregation rules. State whether the goal is a trend, distribution, ranking or relationship.
  2. Ask the model to inspect missing values, duplicates and denominator changes before recommending a chart. Specify the tool and the required output artifact.
  3. Request a chart with readable labels and reproducible transformation steps. Reconcile plotted totals with the input and explain exclusions.

Prompt template

Using {{data}} with schema {{schema}}, build a chart for {{question}} in {{tool}}. Units and aggregation: {{rules}}. Check missing values and duplicates first. Choose a suitable chart, show the transformation code and label axes and units. Explain excluded records and verify plotted totals against the input.

Check the result

  • Recompute at least one plotted value directly from the raw data.
  • Check scale, ordering and denominator consistency before interpreting a trend.

Common mistakes

  • Do not let a model invent rows to make a chart look complete. A rendered chart does not validate its data.

Sources