Cleaned code. D3 working with out for expressions.