rawgraphs / rawgraphs-app

A web interface to create custom vector-based visualizations on top of RAWGraphs core
https://rawgraphs.io
Apache License 2.0
8.62k stars 1.84k forks source link

zero values in alluvial diagram #17

Closed mikima closed 10 years ago

mikima commented 10 years ago

weird results if one or more values are 0.

giorgiocaviglia commented 10 years ago

Mmmmh interesting. I think it is the d3.sankey plugin we are currently using that does not allow zero or negative values.. What should we do in those cases? Normalizing the links...?

mikima commented 10 years ago

Tried it now and it seems to work. When the value is 0, it simply skips the line.