added specs for d3_generator