removed the for loop in place of D3s much nicer selector attr updating style, cleaner style