Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Counter visualization #27

Closed
arikfr opened this issue Oct 28, 2013 · 17 comments
Closed

Counter visualization #27

arikfr opened this issue Oct 28, 2013 · 17 comments
Labels

Comments

@arikfr
Copy link
Member

arikfr commented Oct 28, 2013

Optional additions:

  1. Value change indication (e.g. up by 20%)
  2. Distance from desired value (e.g. 50% under, 200% over)
@amirnissim
Copy link
Contributor

@arikfr, @ranbena how about we call this 'Goal' visualization?

@amirnissim
Copy link
Contributor

@arikfr any thoughts on how the dataset should look like? maybe something like:
SELECT foo as "::goal" ...

@arikfr
Copy link
Member Author

arikfr commented Oct 23, 2014

@amirnissim

  • "Goal" is too specific. Better to have a counter with goal option.
  • I don't want to keep using the "::" convention. To make it easier, we can add heuristics to pick what column contains the data, but anyway it should have settings like all the charts visualization.

@amirnissim amirnissim self-assigned this Oct 23, 2014
@amirnissim
Copy link
Contributor

for the query:

select 13 as "count";

screen shot 2014-10-26 at 3 41 12 pm
screen shot 2014-10-26 at 3 41 29 pm

@amirnissim
Copy link
Contributor

first draft. please share your thoughts @arikfr @ranbena.

@ranbena
Copy link
Contributor

ranbena commented Oct 26, 2014

  1. Does it work well with the other widgets in a dashboard? (currently can't access rd)
  2. The arrow and number look like they represent change and not diff from goal. Should consult UX.

@arikfr
Copy link
Member Author

arikfr commented Oct 26, 2014

I think the visualization is a bit confusing, my suggestion:
Show it as : "Number (Target)" in your example 13 (15). If the number<target show it in red, otherwise green.

@amirnissim
Copy link
Contributor

I was inspired by @itaimiller design for tabla
screen shot 2014-10-26 at 2 53 11 pm

@arikfr
Copy link
Member Author

arikfr commented Oct 26, 2014

Itai is a great inspiration, but he tried convey different information :-) "9% ^" in this screenshot means increase of 9% over some period of time. That's not the kind of information you show...

If you prefer you can show +X (green) -X (red) without the arrows. Maybe like this:

First row: [VALUE]
Second row: -X (TARGET)

@amirnissim
Copy link
Contributor

@arikfr I initially tried value (goal) and it looked confusing to me.
It's still not clear to me what the use case would be, @ranbena should have a real example.
Maybe if the use case is "current VS target" we should simply show the delta: +10 or -5 as the main number.

@arikfr
Copy link
Member Author

arikfr commented Oct 26, 2014

What about my second suggestion?

@joeysim
Copy link
Contributor

joeysim commented Oct 27, 2014

I think we shouldn't have a predefined visualization target value but rather return both values from the query itself, allowing us to basically support both visualizations in one (a - number vs. static number and b - number vs. change coming from a time shifted query)

@arikfr
Copy link
Member Author

arikfr commented Oct 27, 2014

+1 for @joeysim.

@amirnissim
Copy link
Contributor

how about this (pushed):

select 17 as "counter", 16 as "target";

screen shot 2014-10-27 at 11 30 36 am

select 13 as "counter", 16 as "target";

screen shot 2014-10-27 at 11 30 13 am

@arikfr
Copy link
Member Author

arikfr commented Oct 27, 2014

SUPER!

Just covert the column picker into a drop down... although even as is it's great. So only if you have time.

@shishirsharma
Copy link

If we put a monthly target, There is no point of showing up or down. Monthly targets might be really big/can be hard to achieve. There should be a visualisation like this one here

http://1.bp.blogspot.com/_XPquV_XKF1c/SSHwj6uuDzI/AAAAAAAAAbc/a5DFj7izu9Q/s400/g1.jpg

g1

@arikfr
Copy link
Member Author

arikfr commented Jan 25, 2016

@shishirsharma makes sense. It's better if you open a new issue for it (or even better: a pull request 😉).

eugenekx pushed a commit to eugenekx/redash that referenced this issue Oct 7, 2023
…ash-table

add new visualization for regular redash table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants