question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Funnel charts are kind of interesting because they’re kind of like stacked bar charts, with variable width bars, often with sloping sides, which makes for the potential for double-encoding. A standard stacked bar chart has each segment with the same width, and the height of the segment encodes the datum. On the other extreme you can have bars where each are the same height, and the width encodes the datum, like this: https://www.amcharts.com/demos/funnel-chart/

In both of those cases, the area is proportional to the datum. If you start sloping the sides, then the area no longer matches the datum and it’s just the height: https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/demo/funnel/

So we could maybe add some options to bar to make the version without sloping sides, but it may make more sense to create a new trace type here. We’ll want some special legend and color handling, as well as some computations for hovertemplate like ‘percentage of total’ and ‘percentage difference with previous stage’ etc.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:57 (56 by maintainers)

github_iconTop GitHub Comments

2reactions
nicolaskruchtencommented, Feb 4, 2019

Ok for one funnel per trace. It’s very common to want each bar a different color however (much more than to segment each bar like in the image above) so I would want built in support for this, like in pie.

1reaction
etpinardcommented, Apr 26, 2019

@archmoj I gave your https://github.com/plotly/plotly.js/compare/fix3777-textinfo-waterfall-fin...funnel-new-proto a first look. It’s looking pretty good!

I only noticed two “major” things:

Once these are addressed, please PR away 🚀 The other comments are minor.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Complete Guide to Funnel Charts | Tutorial by Chartio
A funnel chart is a specialized chart type that demonstrates the flow of users through a business or sales process. The chart takes...
Read more >
Create a funnel chart - Microsoft Support
Funnel charts show values across multiple stages in a process. For example, you could use a funnel chart to show the number of...
Read more >
What is a Funnel Chart? - TIBCO Software
A funnel chart is a graphical representation used to visualize how data moves through a process. In a funnel chart, the dependent variable's...
Read more >
Funnel chart options | Looker - Google Cloud
Funnel charts are useful to understand events in a sequential process, like prospect stages in a sales pipeline, engagement with a marketing ...
Read more >
Funnel chart - Wikipedia
Funnel charts are a type of chart, often used to represent stages in a sales process and show the amount of potential revenue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found