Under certain circumstances, least squares lines seem to be wrongly labelled. It appears to have something to do with the alphabetical order of categories in a categorical variable, and their display on the graph. It does not always happen: notice that the variable Type appears to work correctly, and also, that the alphabetical order is reversed. This was discovered on a different data set, but wanted to see if it could be reproduced with “official” CODAP data.
It took me awhile to reproduce the bug as merely opening the document did not show the problem. But if I grab one of the squares in a legend and switch the order, I can see the mislabeling.