New insight type - Change Chart
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 6h 51m
- Merged PRs (30d)
- 232
Description
Describe the solution you'd like
A chart that help displays changes in trends over time. Idea has come from: https://github.com/PostHog/posthog/pull/53982
Problem:
Spotting directional trends across breakdown values when there are too many series for a line chart can be useful.
For example, if I have a “movie watched” event broken down by language, a standard line chart gets noisy pretty quickly. What I’m usually trying to answer is: which languages are trending up vs down over a given window? The change-style chart makes that comparison much more obvious at a glance.
The chart was inspired from this very similar chart that I found very helpful to spot trends of this week vs last week.
Seems like a good idea, we should support this or similar.
Debug info
- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked PostHog pull request #53982 and the Datadog reference chart to understand the proposed comparison. Done should be a supported change-style chart that makes upward and downward trends across breakdown values clear over a selected time window.
Written by the indexing model from the issue text.
Assessment
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100