To unlock the Dark Garden, raise your chao using the dark-aligned characters—Eggman, Rouge, and Shadow—instead of the hero characters. Even if you use heroes occasionally, petting your chao frequently with a dark character will still push it toward the dark side. Feeding it Dark Fruit helps too. Once it grows up as a dark chao, the Dark Garden will unlock.