AutoChart component

Open
#68 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
d3, typescript

Research direction

Start with TooltipContext.svelte, especially the referenced mode-selection section, and compare the Observable Plot auto mark and Blazer chart references. Work out how AutoChart should infer chart, tooltip, and date/time axis behavior from data and scales; it is done when those decisions are defined and implemented consistently.

Written by the indexing model from the issue text.

Description

enhancement

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

Dominant language
TypeScript
Stars
1.3k
Forks
41
Avg merge
2d 8h
Merged PRs (30d)
14

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from techniq/layerchart

All issues in techniq/layerchart

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.