THINK FIRST·CODE LATER

← All labs

Critique an AI-generated CityPulse chart

Problem

A city official typed into a chatbot: "Make a chart showing how air quality changed in each district this year." The assistant returned a chart and this description:

  • A 3D pie chart with 12 slices, one per month, sized by the sum of PM2.5 readings in each month, coloured with a rainbow palette;
  • caption: "Air quality improved significantly in all districts, especially in summer."
  • The data has 6 districts; sensors were offline for two weeks in July.
  1. List every problem you can find (task, data, aggregation, encoding, colour, caption).
  2. Rewrite the request as a precise prompt that a good analyst (or a better AI) could act on.
  3. Sketch (in words) a better chart and say how you would verify any caption before publishing it.

Work it out on paper, in a document or here, then compare with the model answer. Your answer stays in your browser — it is never sent to or stored on the server.