layerchart icon indicating copy to clipboard operation
layerchart copied to clipboard

Dual axis chart

Open techniq opened this issue 10 months ago • 0 comments

  • 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)

techniq avatar Oct 12 '23 11:10 techniq