Can one use XYChart to create a dual axis plot? #1235
Replies: 4 comments 1 reply
-
I'm trying to do something similar with a line atop a stacked bar chart right now and it seems like the main problem is no being able to specify 2 separate yScales at the XYChart level though I'm not sure how you would reconcile that wrt negative values in the data set. I feel like the chart from scratch is the best option. |
Beta Was this translation helpful? Give feedback.
-
currently this is not supported in others have tried overlaying two
another option I thought of would be to transform the data of one of the lines (say the red one) into the units of the other (the blue one), and then render a separate |
Beta Was this translation helpful? Give feedback.
-
going to convert this to a discussion |
Beta Was this translation helpful? Give feedback.
-
@williaster is there any updates on this? Possible support for two y-axis? |
Beta Was this translation helpful? Give feedback.
-
Hi @visx team!
First of all, I love this project and would like to use it for all my data vis needs :) - I have a question I hope you can help me with: I want to create a chart like this one
Do you know how I can do that with XYChart? If not, should I go from scratch using lower level @visx components?
Many thanks in advance!
-G
Beta Was this translation helpful? Give feedback.
All reactions