I wonder how this great explanation got no comments. It got only 98 likes. Your explanation, visuals, and everything are worth a lot! Keep up the good work.
Then what is the difference between earned value and actual cost? Here earned value comes out to be 140k $, which is the amount spent so far in project, so it also becomes our actual cost, so did you assume actual value as 145k $? I have figured out this issue in some other numerical as well.
Earned value equals the value that was created by the projet at a specific point in time as for the actual cost it is what it cost you to get that earned value. In other words, if cost are above the earned value, it means that it cost you more than expected to create that value.