PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
21.5k stars 1.28k forks source link

Enhancement: Make better use of space with bespoke analytics UIs #12226

Open corywatilo opened 2 years ago

corywatilo commented 2 years ago

I realize we have analytics UIs standardized, but it might be worth making custom UIs for different visualization options.

Example area for improvement

Let's use the pie chart as an example. This design doesn't feel terribly useful. (On my 13" MacBook Pro at highest resolution, I can't see any of the breakdown data.)

image

Toggling the legend is a little better, but also isn't super useful since paths are essentially truncated (by running off the screen).

image

Suggestion

A bespoke UI for the pie chart could look something like this:

  1. Pie chart stays within viewport
  2. Breakdown column is scrollable
  3. Hovering a pie segment highlights the row (and vice versa)
  4. Could probably reduce vertical padding in results to fit more rows

image

This is obviously a very simple example, but given it's likely a common use case, I wonder if it's worth creating more bespoke Uis rather than just going for the most scalable layout?

posthog-bot commented 3 days ago

This issue hasn't seen activity in two years! If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in two weeks.