Python, R and d3.js