Text chart component for d3.chart