The Pew Charitable Trusts has created a data visualization that lets you search these statistics by state. The numbers come from a single day in 2015. They include all youth who were in juvenile residential facilities, such as group homes, boot camps and long-term secure facilities.