started integrating d3 for charts