Demo on integrating rails and d3