Toddler biting

My daughter turned 2 in November. She goes to daycare during the week, is pretty social and talkative. So I don’t think she has an issue expressing herself etc. However, she can get aggressive when she doesn’t get her way. This includes biting, scratching and pinching. She’s bit classmates before and the daycare center director said most children this age do it for various reasons. I’m mortified, embarrassed and worried. She bites her father and I at home too. I’m going to check in with her pediatrician but just looking for some advice. We’ve tried a lot things.