d3.js based charts library in Typescript