How do you choose the right chart type for your data?

Instruction: Discuss the thought process behind selecting a chart type based on the data you have.

Context: Evaluates the candidate's ability to effectively match data types with appropriate visualization techniques, ensuring clarity and accuracy in data presentation.

Updated

Official answer

Start with the question the reader must answer, then identify the variables, units, population and aggregation. The number of columns alone does not determine the chart.

  • Compare categories with bars or dots on a common scale. Bars normally need a zero baseline because length represents value.
  • Show change over ordered time with a line, preserving gaps and the actual spacing between observations.
  • Show a numeric distribution with a histogram, empirical cumulative distribution or box plot; disclose binning and important outliers.
  • Explore a relationship between two numeric variables with a scatter plot. A relationship is not proof of causation.
  • Show a matrix with a heatmap when color can support the intended comparison. Use another view when exact differences matter.

For daily active users, a line chart answers how activity changed over dates. A histogram of daily counts answers how often different activity levels occurred, but loses chronological order. Two lines for ad spend and traffic may show temporal patterns; a scatter plot answers a different question about their association. Avoid arbitrary dual axes that make unrelated trends appear aligned.

Choose labels, scales and accessible encodings for the audience's task, then test whether readers can answer it correctly. A nontechnical audience does not automatically require pie charts, and more dimensions do not automatically require bubbles.

Related Questions