d3 for table generation