Indeed, scalars have one component most commonly. That example uses “scalars” with 3 components because it uses direct coloring.
This can be used, for instance, for a model that shows different parts with different colors. So instead of using an integer part number and then color mapping that, you store the color directly.
Thank you @danlipsa , in a separate thread about multiple pointsdata array, I was made aware of this, I am now using AddArray() as it gives a consistent interface for my usecase.