tezvyn:

Compare five companies' market share: bar or line chart?

AI-drafted, machine-checkedSource: udair.missouri.edubeginner

This tests categorical vs. temporal encoding. Pick a bar chart because companies are discrete categories, not a time series; line charts falsely imply sequence or trend. Calling a line chart acceptable is a red flag.

WHAT THIS TESTS: This question probes your ability to match visual encoding to data semantics. The interviewer cares less about aesthetic preference and more about whether you understand that chart types carry implicit meaning. Choosing incorrectly can mislead an audience into seeing trends or sequences that do not exist. It signals whether you have internalized basic visualization literacy and can prevent common misrepresentations in business reporting.

A GOOD ANSWER COVERS: First, pick a bar chart without hesitation. Second, justify the choice by stating that companies are categorical labels, not a continuous time dimension, so comparison across discrete groups is the primary task. Third, explain that bar length is a preattentive attribute that lets viewers instantly rank the five market shares. Fourth, contrast this with a line chart, which encodes continuity and change over time; connecting unrelated companies would falsely imply a sequence or trend. Fifth, add best-practice construction details such as sorting bars from highest to lowest share and starting the value axis at zero so lengths remain proportional to the underlying percentages.

COMMON WRONG ANSWERS: A critical red flag is saying both chart types are fine or that a line chart works just as well. Another weak response is choosing a line chart because it looks cleaner; this reveals a misunderstanding that lines connect data points to show movement, not to compare independent categories. Some candidates propose a pie chart, but the reference explicitly warns against pie or donut charts for category comparison because they make precise judgment difficult. Failing to articulate why time-oriented encodings fail for non-temporal categories is the core mistake.

LIKELY FOLLOW-UPS: Expect the interviewer to stretch your thinking by asking how the answer changes with multiple quarters of historical data, which would legitimately use a line chart to show each company's trajectory over time. They might ask how you would scale the visualization to fifty companies instead of five, where a horizontal bar chart preserves readability for long company names. They could also ask how to layer in a second metric such as total revenue, which might shift the discussion toward grouped bars or small multiples.

ONE CONCRETE EXAMPLE: Suppose you are presenting Q3 2024 market share for five firms: Alpha at 35 percent, Beta at 28 percent, Gamma at 20 percent, Delta at 12 percent, and Epsilon at 5 percent. A vertical bar chart with companies on the x-axis and percentage on the y-axis, sorted descending, makes the hierarchy obvious at a glance. If you instead plot these as a line chart, the connecting segments suggest a progression from Alpha to Epsilon, and the slopes between points invite false interpretation as growth or decline. The bar chart keeps the comparison honest and the ranking immediate.

Read the original → udair.missouri.edu

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.