I'm using sankeyNetwork
from networkd3. When I plot my data, if I hover the mouse on the sankey links the link label appears, and the thousands separator in this label is a comma. I would like it to be a point.
Here is an example:
library(networkD3)
nodes <- data.frame(name = c('a','b'))
links <- data.frame(source = c(0), target = c(1), value = c(12000))
p <- sankeyNetwork(
Links = links,
Source = "source",
Target = "target",
Value = "value",
Nodes = nodes,
NodeID = "name",
fontSize = 12,
nodeWidth = 30,
iterations = 0
)
p
thankss!!
Xevi