openfoodfacts-server icon indicating copy to clipboard operation
openfoodfacts-server copied to clipboard

"Comparison to average values of products in the same category" is unclear

Open zigouras opened this issue 5 years ago • 4 comments

Describe the bug In the nutrients table, it is not clear what the object of the percentage is in the column of the products in the same category. e.g. if it says +4%, does it mean that the category is 4% more than the product we are viewing or is the product 4% more than the category? I think it is the latter but I was never sure! Thanks.

To Reproduce Look at any product.

Expected behavior Some help text to clarify.

zigouras avatar Oct 28 '19 19:10 zigouras

I agree, it's very unclear, but I'm not sure how to convey it in a visually pleasing way. Any suggestion?

stephanegigandet avatar Nov 01 '19 12:11 stephanegigandet

Just add some explanatory text. I am not exactly sure how it is calculated but I think it is "* Calculated as (this product value/average category value - 1) x 100%" You could put an asterisk next to the calculated column header and put the text below the table. Or append the text to "Please note: for each nutrient, the average is computed for products for which the nutrient quantity is known, not on all products of the category."

zigouras avatar Nov 02 '19 20:11 zigouras

Or append the text to "Please note: for each nutrient, the average is computed for products for which the nutrient quantity is known, not on all products of the category."

Or maybe just a tooltip when hovering the value.

VaiTon avatar Nov 03 '19 10:11 VaiTon

@teolemon I would like to work on this issue

YashasviChaurasia avatar Aug 03 '22 11:08 YashasviChaurasia