techniq / techniq/layerchart

AutoChart component

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

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
1.3k
Forks
41
Avg merge
2d 19h
Merged PRs (30d)
16

Description

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

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.