Convert links variable to json. Add all elements with d3, updated CSS and layout.