D3 js - need an advice

Thanks Randell! Thats what I have not thought at all. You saved me!