test for d3.js library