layerchart
layerchart copied to clipboard
Dual axis chart
- https://observablehq.com/@observablehq/plot-dual-axis
- https://observablehq.com/@observablehq/dual-axis-bar-line-chart
- https://vega.github.io/vega-lite/examples/layer_dual_axis.html
- https://github.com/mhkeller/layercake/issues/131
- https://blog.datawrapper.de/dualaxis/
- https://policyviz.com/2022/10/06/avoiding-the-dual-axis-chart/
Approaches
- Overlay 2 separate
<Chart>
instances on top of each other- How to handle tooltips / data
- Remap one series to the other using a linear scale (see example)