I have a set of numbers:
[9, 8, 6, 4000]
I want to plot a bar chart and I want to normalize only the 4000 number to 4, so the range of Y axis will be [0, 9]. Under the 4 bar I would write * 1000 so the user would know that this value is normalized.
But I don't want to normalize a set of numbers like this:
[1500, 2000, 3500, 4000]
In that case the range would be [0 - 4000].
Is this possible to achieve with some simple math formula?
How can i define the limit for normalizing?
Set can have more than four elements!