d3-sankey-diagram
d3-sankey-diagram copied to clipboard
Sankey diagram for d3
Hi, In the original d3-sankey it is possible to store specific position of each nodes, as you can see in https://sankey.csaladen.es/. The data structure uses the following format: > params":[0.5,0.25,0,0,0],"fixedlayout":[[400.5,218.78016596921236],[0,497.0588235294118],[0,61.70588235294119],[587.25,0],[195.75,274.87527492724956],[790,0],[581.75,0]]}...
Bumps [jsdom](https://github.com/jsdom/jsdom) from 11.6.2 to 16.5.0. Release notes Sourced from jsdom's releases. Version 16.5.0 Added window.queueMicrotask(). Added window.event. Added inputEvent.inputType. (diegohaz) Removed ondragexit from Window and friends, per a spec...
Hello, I managed to update the bundle d3-sankey-diagram.js to make it compatible with the version 7 of d3.js. Main changes is that d3-collection no longer exists. See migration guide for...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.5 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.5&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Love the package so far, but would be great to be able to pass custom strings to append to the label (i.e. d.custlabel) when passing the links. Use case for...
``` $ npm install d3-sankey-diagram npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid...
Looking at the [live examples page](https://ricklupton.github.io/d3-sankey-diagram/), the Bands and groups example doesn't display the group.
When a nodeWidth of more than 1 is used some circular link paths are drawn angled / rotated. ## nodeWidth of 1 ![Screenshot from 2019-09-05 13-29-28@2x](https://user-images.githubusercontent.com/523210/64338306-c0c15e00-cfe1-11e9-9d90-cd2799dc6a28.png) ## nodeWidth of 30...
With d3-sankey I have to manually draw the svg for the links, but this does give me more control, for example to add gradients. What would be the best way...
The following json file is used as example: https://ricklupton.github.io/d3-sankey-diagram/uk_energy.json I'm seeing a lot of unused and undocumented fields: - `links`: - `time` (seems unused and undocumented, always set to `"*"`)...