Is it possible to create a circular repeating group?

Was recently asked if it’s possible to create a circular or web-like repeating group (This gif will clarify what i mean - Snacks App — Friend Graph by Taha Hossain for Daybreak on Dribbble)

I assume it’s not possible natively, but I was wondering if it could be done with some css/js?