D3 conversion of polar chart to rCharts