MSGEQ7 spectrum analyzer troubleshooting

I am also a beginner when it comes to arduino. I was wondering if that sketch merely read the data coming off the msgeq7 chip or if it was trying to do something else too you just didn't have it hooked up in that picture.