superset icon indicating copy to clipboard operation
superset copied to clipboard

[SIP-21] Adding Step Visualization using 'dist_bar' viz_type (American Express)

Open BrainyZeiny opened this issue 7 years ago • 2 comments

[SIP] Proposal for Step Visualization bar graph

Motivation

We often use data to tell stories, and currently there is no option in superset for query specificity in the form of step visualizations. A step visualization is similar to a Funnel chart but has slightly more use cases.

For example a step visualization can represent stages in a sales process and show the amount of potential revenue for each stage. This type of chart can also be useful in identifying potential problem areas in an organization's sales processes. Currently there are no visualizations in superset that have this story-telling use case.

Proposed Change

  1. STEPS Using the 'dist_bar' Viz_type the user will be able to add many steps. Each step has is simply a bar graph step with a specific query. Relationships are made between each step by printing the delta for story telling effect. Steps

  2. ABSOLUTE FILTER Absolute Filter can be added on a slice as a whole for repetitive filters. For example if you are only interested in telling a story on domestic sales. You can apply the domestic_sales filter once in absolute filter instead of on every step. Absolute Filter

New or Changed Public Interfaces

  1. (backend) Add support for multi-pass queries
  2. (frontend) Add Funnel.jsx visualization which utilizes dist_bar viz type

New dependencies

Currently no new dependencies.

Migration Plan and Compatibility

Will Update

Rejected Alternatives

Looking forward to discussing alternatives

BrainyZeiny avatar May 22 '19 05:05 BrainyZeiny

Issue-Label Bot is automatically applying the label #enhancement to this issue, with a confidence of 0.90. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar May 22 '19 05:05 issue-label-bot[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Jul 21 '19 06:07 stale[bot]