You can't actually obtain a Sonic Chao directly in the Chao Garden in Sonic Advance 3. However, there's a clever workaround.
If your partner character is Cream, you can get Cheese to transform into a Sonic Chao. It's a neat little trick that lets you enjoy a Sonic-style chao without needing to find one the ordinary way.