Vertical Sankey diagram

196 views
Skip to first unread message

Beatriz Martínez

unread,
Feb 26, 2015, 7:10:18 AM2/26/15
to d3...@googlegroups.com
Hi to all!

I am trying to build a vertical sankey modifying the original sankey.js with no success.


Does anyone know any code example for that or where to look for it? It would be really helpful.

Thank you in advance!

Max Goldstein

unread,
Feb 26, 2015, 5:51:55 PM2/26/15
to d3...@googlegroups.com
d3.select("svg").attr("transform", "rotate(90)")

Have you tried rotating the entire diagram? A bit smug, yes, but maybe it works for you.

Phuoc Do

unread,
Feb 27, 2015, 3:12:06 AM2/27/15
to d3...@googlegroups.com
You can rotate link and node groups:


git code repo:


Phuoc Do

Beatriz Martínez

unread,
Feb 27, 2015, 3:59:55 AM2/27/15
to d3...@googlegroups.com
Great, I will have a look to the code.

Thank you both!

Un saludo,

Beatriz Martínez
--

--
You received this message because you are subscribed to a topic in the Google Groups "d3-js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/d3-js/24RflXzcOoI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to d3-js+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages