# charts

Guidelines for building Remotion charts and animated metrics without frame flickering.

- rule · `type=rule` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline · ★ 849 repo stars
- Author: coleam00
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/coleam00/second-brain-skills/tree/HEAD/.claude/skills/remotion/rules/charts.md
- Updated: 2026-01-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/rules/charts

## What it does

This rule instructs the agent on creating animated data components within the Remotion framework. It covers bar charts, circular segment graphs, histograms, and progress meters built with React, SVG, or D3.js.

External animation packages must be avoided. Third-party transition tools trigger visual flickering because they do not synchronize with Remotion rendering. Every motion value must calculate directly from `useCurrentFrame()`.

The guidelines detail specific mathematical patterns. Heights for bar graphs scale via `spring()` delays, while circular SVG charts reveal their segments by recalculating `stroke-dashoffset` starting from the top center.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/rules/charts.md` — The paths frontmatter field limits the files

### Codex

**AGENTS.md**
- Codex reads AGENTS.md: paste the rule text there

### Cursor

**Manually: put the files in place**
- File: `.cursor/rules/charts.mdc` — Frontmatter: description, globs, alwaysApply

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/instructions/charts.instructions.md` — The applyTo field sets which files it applies to

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/rules/charts.md`

### Cline

**Manually: put the files in place**
- File: `.clinerules/charts.md`

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/coleam00/second-brain-skills/tree/HEAD/.claude/skills/remotion/rules/charts.md

## When to use it
- animate staggered bar charts in Remotion
- draw animated SVG pie charts from top center
- eliminate frame flickering in video chart renders
- drive data-driven visualizations through useCurrentFrame

## Example prompts
- Create a staggered bar chart animation for my Remotion composition
- Build an SVG pie chart component driven by current frame progress

## Similar
- [diagram-animation](https://affpapa.org/en/nevibecode/skills/diagram-animation.md) — skill · 3000 installs
- [d3js-visualization](https://affpapa.org/en/nevibecode/skills/d3js-visualization.md) — skill · 189 installs
- [d3-data-visualization](https://affpapa.org/en/nevibecode/skills/d3-data-visualization.md) — skill · 13 installs
- [evident-charts](https://affpapa.org/en/nevibecode/skills/evident-charts.md) — skill · ★ 63 repo stars
- [visualizing-data](https://affpapa.org/en/nevibecode/skills/visualizing-data.md) — skill · 2 installs
- [map-animation](https://affpapa.org/en/nevibecode/skills/map-animation.md) — skill · 1600 installs

From the same set: [coleam00/second-brain-skills](https://affpapa.org/en/nevibecode/by/coleam00/second-brain-skills.md) — 33 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
