A question about coding (bar chart race)

I talked about that you should look at the examples in the mouse section.

Can you please show your attempt now?