codecharta icon indicating copy to clipboard operation
codecharta copied to clipboard

Histogram for metrics

Open Richargh opened this issue 5 years ago • 5 comments

To get a quick overview it would be beneficial to get histograms per metric. Where/how should that be displayed and how interactive can it be?

Richargh avatar Feb 28 '19 20:02 Richargh

I think first and easier implementation isa non-interactive one in the legendPanel like this: (imagine blue were yellow, and grey were red) If we can make it interactive without too much effort, we could substitute the current colorSlider...

alschmut avatar Mar 01 '19 00:03 alschmut

Looks good to me. But don't we need that for all the metrics: area, height and color?

I don't think the legend should be interactive. I wouldn't expect that from a legend. If we place the histogram somewhere else and make it interactive then hovering over an area in the histogram should highlight all the affected buildings in the CodeMap.

Richargh avatar Mar 01 '19 07:03 Richargh

I definitely like the idea of the histogram for the color metric. We could in fact replace our current slider with such histogram in our color metric dropdown. That would allow the user to identify an ideal placement much easier than without the information.

Other metrics could also profit from the histogram but there's no point in making it interactive. As such, I would concentrate on the color metric first and think about the other metrics later.

BridgeAR avatar Jan 01 '21 03:01 BridgeAR

@shaman-apprentice this might be an interesting issue for you, since you recently had a closer look at the slider :-)

BridgeAR avatar Jan 01 '21 03:01 BridgeAR

The histogram could also indicate the number of buildings per color (and the percentage) "somewhere" (maybe below the slider? Next to our future color selector?).

BridgeAR avatar Jan 01 '21 03:01 BridgeAR