Extention for Perl Graph module for D3.js