How to set text color for my d3 chart title?

All the while I was doing .style("fill", "darkOrange")

Then I found out the correct answer is

.style('fill', 'darkOrange')

Leave a Comment