Data Analyst Interview Question

How do you decide what chart type to use for a given result?

What the interviewer is probing, how to structure your answer, and a spoken example you can adapt.

Quick answer

Choose based on the comparison you want the audience to make. Time trends go on a line chart, category comparisons on a horizontal bar, part to whole on a stacked bar rather than a pie unless there are two or three slices, and relationships on a scatter. Start bar chart axes at zero, sort categories by value rather than alphabetically, and label directly instead of relying on a legend.

Why interviewers ask this

Visualization choice often determines whether an analysis actually changes a decision, so interviewers want stated principles rather than aesthetic preference. They listen for matching the chart to the comparison the reader must make, avoiding pie charts with many slices, the zero baseline rule for bars, and the understanding that the goal is comprehension rather than information density.

How to structure your answer

  • Start from the comparison the audience needs to make.
  • Map the common comparisons to chart types.
  • Give the encoding rules: zero baseline, sorting, direct labels.
  • Mention accessibility and color use.
  • Say that the title should state the finding, not the axes.

Example answer

Spoken example, first person

I start by asking what comparison I want someone to make in about three seconds, and the chart follows from that. Change over time is a line. Comparing categories is a horizontal bar, sorted by value, because alphabetical sorting hides the ranking that is the whole point. Part to whole I will do as a stacked bar unless there are literally two or three slices, since nobody can compare pie wedges accurately. Relationships between two continuous variables get a scatter. Then a few rules I hold to regardless: bars start at zero because the length is the message and truncating it exaggerates differences, labels go on the series directly rather than in a legend people have to keep looking back at, and I do not use color unless it encodes something, since decorative color is just noise. The last thing is the title. I write the finding, so mobile conversion fell 12% since March, not conversion by device over time. That one change makes people read the chart correctly.

Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.

See how it works

Follow-up questions to expect

  • When is a truncated axis on a line chart acceptable?
  • How do you make a chart readable for colorblind viewers?
  • How would you visualize a distribution rather than a single number?

Related data analyst questions

Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.

Predict my questions

Rehearse the hard questions before they are asked

Practise with a live copilot, then walk in ready. A $29 Session Pass gets you through the interview with no subscription and no lock-in.

Get GhostPilot