User seeks to customize certain text output on a Sankey. In this case, the user wanted to change the text of the {{n =}} to something else. (See image below).
Liz produced some R code as a workaround.
_You can modify the labels within the R Code of the visualization to replace that bit of the label. To do so go to_
_Properties > R CODE_
_and click into a blank line before your final table.output.9 SankeyDiagram is made (~line 78). Paste in the following code (you'll get a warning confirming you want to edit the R code, click Yes):_
{noformat}#get list of current labels
currentlabels = sankey.dat$nodes$name
#create new labels, use gsub to replace the n= with what you need
newlabels = gsub("n =","TO [k€] =",currentlabels)
#set the labels in the sankey.dat to the new labels
sankey.dat$nodes$name = newlabels{noformat}
!image-20220608-181930.png|width=870,height=459!