Explain pre-attentive attributes in data visualization
Tests your grasp of visual psychology in data viz. Define pre-attentive attributes (instantly processed visuals), give examples (color, size, shape), and explain using one to highlight outliers in a dense plot.
WHAT THIS TESTS: This question probes your depth beyond just building charts. It tests your understanding of the cognitive science behind data visualization. The interviewer wants to see if you can intentionally design a visualization to guide a user's attention and communicate a specific insight efficiently, especially when the data is noisy or dense. It's a test of design intentionality over just plotting data.
A GOOD ANSWER COVERS: A strong answer has three parts. First, define 'pre-attentive attributes' as visual properties that our low-level visual system processes in parallel, almost instantly (under 250 milliseconds), without conscious thought. Second, provide at least three distinct examples. Good choices are color (specifically hue or intensity), size, shape, and orientation. Avoid listing similar attributes like length and width separately. Third, apply this to the dense scatter plot scenario. Explain how you would use ONE attribute to make a key insight 'pop'. For example, making a specific cluster of points a distinct, high-contrast color while leaving the rest gray.
COMMON WRONG ANSWERS: A red flag is simply listing attributes without explaining the 'why'. For example, saying "I'd use color, size, and shape" is weak. A better answer explains how one would be used: "I would make all non-critical points a muted gray and the 10 points representing last week's launch failures a bright, saturated red. This contrast makes them immediately visible." Another mistake is suggesting an attribute that doesn't work well in a dense plot. For instance, using different complex shapes for hundreds of overlapping points would create visual noise, not clarity. Using color or size is generally a safer bet for density.
LIKELY FOLLOW-UPS: Be prepared for questions about the limits of pre-attentive attributes. An interviewer might ask, "What happens if you try to combine too many? For example, using color for one variable, shape for another, and size for a third on the same point?" The correct answer is that their pre-attentive power diminishes rapidly. Combining more than two creates "conjunction search," which requires conscious, serial processing, defeating the purpose. Another follow-up could be about accessibility: "How would your color choice strategy change for users with color vision deficiency?"
ONE CONCRETE EXAMPLE: Imagine a scatter plot with 500 data points showing user engagement (y-axis) vs. days since signup (x-axis). The key insight is that users who completed onboarding have 3x higher engagement. To show this, I would render all 450 points for users who did not complete onboarding as small, low-saturation gray dots. I would then render the 50 points for users who did complete onboarding as slightly larger, bright blue dots. The user's eye is immediately drawn to the distinct blue cluster, which would clearly sit higher on the engagement axis, making the insight instantly apparent without needing a legend or tooltip.
Read the original → en.wikipedia.org
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.