JSON table creation with d3