How to set text color for my d3 chart title? April 7, 2023 by Tarik All the while I was doing .style("fill", "darkOrange") Then I found out the correct answer is .style('fill', 'darkOrange')