I've constructed some SVG text using D3, but for some reason it's quite low quality. This is in Chrome on OSX.
This is the code:
.hover-text {
stroke: black;
}
var tipHeadText = hoverLineGroup.append('text')
.attr("class", "hover-text")
.attr("text-anchor", "middle")
.attr('font-size', '10px')
.attr('y', -45).text("Last data point:")
This is how it renders, looking quite fuzzy:
Is there anything I can do to make it crisper? Or would I be better off using HTML?