Arduino + 7 Segment Display [Feedback Needed]

Thanks for letting me know the method. I checked and it indeed seems to be common cathode. I guess the datasheet is wrong.

I have updated my circuit diagram.