layerchart icon indicating copy to clipboard operation
layerchart copied to clipboard

AutoChart component

Open techniq opened this issue 2 years ago • 1 comments

Consider creating an AutoChart component similar to Observable Plot's auto mark.

See initial discussion for some context.

Some initial thoughts:

  • Identify the TooltipContext mode based on data/scales (reference)
  • Consider using getMajorTicks() / formatMajorTicks() (and minor version) to provide Axis ticks for date/time scales (reference)

Reference

  • https://observablehq.com/plot/marks/auto
  • https://github.com/ankane/blazer?tab=readme-ov-file#charts

techniq avatar Nov 09 '23 15:11 techniq

Would love to see this!

mavam avatar Nov 11 '23 08:11 mavam