PostHog / PostHog/posthog

Feature Request: Stacked bar chart previous period comparison side-by-side

Open
#52,284 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
6h 51m
Merged PRs (30d)
232

Description

Feature request

Is your feature request related to a problem?

When viewing a stacked bar chart with comparison to pervious period; the previous period's data is currently stacked ontop of the current data, making it very difficult to make a comparison between the data. It would much easier to use this chart if the data were to be side-by-side

An example of how this currently looks with seeded data:

Image

Describe the solution you'd like

Ideally the comparison data should be shown side-by-side with the current data so that comparisons can be more easily made.

Describe alternatives you've considered

N/A

Additional context

From: https://posthoghelp.zendesk.com/agent/tickets/53797 (moved to PostHog: https://us.posthog.com/project/2/support/tickets/55122)

Debug info

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the stacked bar chart implementation and the rendering path for previous-period comparisons, then reproduce the seeded-data view described in the issue. The work is done when comparison data is displayed side-by-side with current data and the chart remains usable for stacked-series comparisons.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, typescript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.