I would like to present data color coded in a bar.
My data look like the following:
{-2.5,-1.0,0.1,0.5,-0.24,-0.58,-0.58,-0.25,-1.4,2.1,1.8,-2.5,1.97}
I would like to create a horizontal bar and each part of the bar should be colored according to the number value of each data point. The color scheme should be getting the bluer the smaller the value below zero and increasingly red for values larger than zero. (The color scheme is not important, I just want to make the different values visible). All parts of the bar should be of the same length. I have no idea where to start and don't know if a stacked bar chart is the way to go or if I should better represent each value with a rectangle graphics object that I combine in the end. The image below is just to show you the kind of bar I would like to create (very roughly).