Graphing Component using D3