This nice little tool Raw from DensityDesign transforms text from your clipboard to d3. For those yearning to access Raw from R, here is an easy way to do it.
Use this function read.excel from StatisticallySignificant’s post Copying Data from Excel to R and Back. Once you run the function, your data will be copied tab-delimited to the clipboard. Then simply paste the data into Raw and make some d3 charts.