A question about coding (bar chart race)

It still doesn’t work.