Sankey Diagram for Customer Flow and Revenue Attribution,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n
Design Sankey diagrams that visualize multi-step customer flows and revenue distribution across channels, products, and segments.
Create Sankey diagrams that show how customers flow through multiple stages or how revenue distributes across dimensions, revealing patterns that traditional charts miss.
At a glance
Access
Free prompt
Open to copy without upgrading.
Prompt objective
Create Sankey diagrams that show how customers flow through multiple stages or how revenue distributes across dimensions, revealing patterns that traditional charts miss.
Real use case
A SaaS company wants to visualize how trial users flow through different product features before converting to paid plans, showing which feature combinations lead to the highest conversion rates.
Customize these fields first
Replace the placeholders with your own context before you run the prompt. That usually improves the first output more than adding more instructions later.
Prompt
Design a Sankey diagram visualization for [COMPANY NAME] to analyze [FLOW TYPE: customer journey/revenue distribution/user behavior].\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n**Data Structure for Sankey:**\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Source nodes, Target nodes, Value (flow volume)\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Example: Channel → Landing Page → Feature Used → Conversion Status\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n**Scenario 1 — Customer Journey Sankey:**\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Nodes: Traffic Source → Landing Page → Action 1 → Action 2 → Outcome\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Flow width proportional to number of users\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Color by: channel, outcome, or segment\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Identify: most common paths, highest-converting paths, biggest drop-offs\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n**Scenario 2 — Revenue Flow Sankey:**\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Nodes: Product Category → Customer Segment → Region → Revenue\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Shows how revenue distributes across dimensions\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Identify: most profitable paths, underperforming segments\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n**Scenario 3 — Budget Allocation Sankey:**\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Nodes: Total Budget → Department → Initiative → Result\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Shows how budget flows to outcomes\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Identify: ROI by path\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n**Design Rules:**\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Maximum 4-5 levels (too many = unreadable)\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Node ordering: logical flow left to right\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Color scheme: consistent per dimension\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Labels: show value on hover, not on chart (clutter)\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Minimum flow threshold: hide flows < [X]% to reduce noise\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n**Implementation:**\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Power BI: Deneb custom visual (Vega-Lite)\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Python: plotly Sankey or pySankey\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- JavaScript: D3.js Sankey\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Data preparation: aggregation query to create source-target-value format\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nInclude a complete data preparation SQL query and visualization code.
Open directly in an AI — the text is pre-filled:
How to use this prompt
- 1Replace the key placeholders first: COMPANY NAME, FLOW TYPE: customer journey/revenue distribution/user behavior.
- 2Replace any bracketed placeholders like [this] with your own context.
- 3Add extra background information when you want more tailored results.
- 4Combine multiple prompts in one conversation when you need a richer output.
- 5Save your best-performing prompts so they are easy to reuse later.
Next best step
Open the guide first, then branch only if you still need more.
A guide for technical builders choosing between prompts, coding workflows, and agent-based implementation.
If this prompt is close but not quite right, generate variants next. If the job is recurring, move into the course library after the guide.
Related prompts
View allChart Selection Guide: Matching Visualization Types to Data and Objectives
Practical framework for selecting the correct visualization type based on analysis goal and data characteristics.
Best for
Create a quick-reference guide to help analysts choose the right chart (among 20+ types) based on analysis objective, number of variables, and target audience.
Power BI Dashboard for Commercial Tracking with Advanced DAX
Designs a complete Power BI dashboard with DAX measures for commercial analysis with drill-through and bookmarks.
Best for
Create the functional and technical specification for a Power BI dashboard for the commercial/sales department, including Star Schema data model, advanced DAX measures, and visual interactions.
Interactive Looker Studio Report with Google Analytics and Sheets Data
Create an automated report in Looker Studio connecting GA4, Google Sheets, and BigQuery with interactive filters.
Best for
Build a digital marketing report in Looker Studio (formerly Data Studio) that combines data from multiple Google sources, with automatic updates and stakeholder sharing.
Data Storytelling: Narrative Structure for Impactful Presentations
Data storytelling framework to transform technical analyses into persuasive narratives for executive leadership.
Best for
Apply data storytelling techniques to create presentations that influence decisions, combining narrative structure, slide design, and insight sequencing.
Explore other prompt categories
Move sideways into adjacent libraries when the current category is not the full answer.
Free browsing stays open. Premium prompts unlock the reusable workflow layer.
Use the guides and role paths to validate the job first. Upgrade when you want the full prompt text, editable premium prompts, and the surrounding course paths in one place.
Free access
- Browse guides, role paths, and category pages.
- Preview prompts before you decide to upgrade.
- Find the right starting point without friction.
Membership access
- Unlock premium prompts and the full copy text.
- See more workflow paths and course connections.
- Keep the reusable templates in one place.