tweaking and tried to visualize things with d3