javascript - Multiple linecharts with different Y scales with shareable X Axis using d3js -
im working on project have big amount of data. it's segmented categories soybean, ma20, ma50, ma100, bbw_2
, date
. i've done far use code can filter , zoom in data. result
- selecting bbw_2 !here problem! : problem when bbw_2 selected. can see orange line touching x axis. bbw_2. has it's y' axis max value of 2, infinitely smaller 1200, scale doesn't work expected. doesn't occur other categories because have similar y' axis values.
what want achieve?
i want plot categories user selects appending selected categories`generated linechart same x axis different y scales. 1 example of one: .
what i've tried:
change y scale changing when user selects bbw_2.
plot in different svg`s. doesnt work great because loses zooming effect.
Comments
Post a Comment