Rotate tree using Plot #2273
Unanswered
jeffzheng13
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently started using Plot and am going off the code provided here. My data also follows the same format as the gods table where each path is denoted with /. This generates a horizontal tree going left to right. How would I get it to work vertically? I tried rotating the whole tree in the outer element like so
<div className="rotate-90" ref={containerRef}></div>
, but this feels wrong and the labels end up rotated the wrong way. What is the best way to go about it?Beta Was this translation helpful? Give feedback.
All reactions