Skip to content
tezvyn:
Menu

Visualizing a non-linear funnel with re-entry

Source: interviewMediumHow cards are made

Summary

Matching visualization to data shape.

Key points

A linear funnel cannot show branching or re-entry; a Sankey diagram encodes flow volume, splits, and leaks as proportional ribbons.

Watch out for

Defaulting to a bar funnel or pie chart.

WHY IT MATTERS Choosing the right visualization is about honoring the structure of the data. A leader's question of where users go and where they leak cannot be answered by a chart that assumes everyone moves in one straight line.

WHAT IT TESTS Whether you can diagnose that the data is a flow graph, not a monotonic sequence, and pick a visualization that preserves branching and re-entry.

A GOOD ANSWER COVERS A classic funnel chart of stacked descending bars bakes in two assumptions: the path is linear and strictly decreasing, and each user occupies exactly one stage in order. The described journey violates both, with re-entry and multiple drop-off destinations. The strong choice is a Sankey diagram, also called an alluvial diagram, where each stage is a node and flows are ribbons whose thickness is proportional to the number of users moving between stages. This directly visualizes how many users advance, how many drop off and to where such as exit, support, or a different stage, and how many loop back in. The widest leaking ribbon instantly highlights the biggest drop-off, answering the leader's question, and color can encode segments or paths.

WHEN IT MATTERS Use Sankey or alluvial for multi-path, branching, or cyclic journeys; a state-transition diagram or path-analysis view is a sibling option. Keep the simple funnel only when the process truly is linear and one-directional.

COMMON WRONG ANSWERS Defaulting to a bar funnel out of habit, which hides re-entry. A pie chart, which loses sequence entirely. A single line chart, which cannot show split destinations. Overloading a Sankey with too many nodes until it becomes unreadable.

ONE CONCRETE EXAMPLE A subscription flow has Browse, Trial, Paid, and Churned stages where churned users sometimes return to Trial. A Sankey shows a thick ribbon leaking from Trial to exit, a thinner one looping Churned back to Trial, and the proportional widths make the dominant Trial drop-off impossible to miss, which a stacked bar funnel would have hidden entirely.

Interview question

Why does a standard descending-bar funnel chart fail for a journey where users re-enter earlier stages?

  • a.It requires more data points than a Sankey diagram does
  • b.It assumes a strictly linear one-directional path and cannot show loops or branchingCorrect
  • c.Bar charts cannot display percentage drop-off rates
  • d.It can only render four stages before becoming unreadable
Why?

A funnel chart's core assumption is a monotonic linear sequence, so re-entry and branching cannot be represented. The other options are false; bar funnels do show drop-off and have no inherent stage or data-volume limit.

Just read this? Test yourself on what you have been reading.

Read the original → en.wikipedia.org

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles