Your daughter likely gets this, but next we need to think about how friendships really form, usually as shared interests. Your daughter is already into science and reading. It may be that older or younger kids with similar interests could offer her this support. Summer day-camps focused on her interests may also help. Continue to support your daughter for who she is and to validate her feelings without panic or overreactions.
True friends are few and far between, and take time.
She will find them.