added comment to explain what d3 layout does