D3 How to place image next to horizontal line text
问题 I've created this D3 chart which displays the results sentiment value. However what I'm struggling to do is place an image next to the horizontal text. Using the JSFiddle as an example, lets say 'Result 2' is under 20%. There would be a sad face displayed to the right of the 'Result 2' text. Then if the value was higher than 20%... a happy face would be displayed instead. Is it possible to do this? JSFiddle: https://jsfiddle.net/sopjzwst/3/ I've created the 2 different faces below the chart