added initial eq chart code, using n3d3
changed margins