Polygon like chart based on d3.js