Build an Animated Bar Chart with Remotion
Create a Remotion bar-chart animation from a CSV, with sequentially growing bars, counting values, a highlighted top bar, and labeled source information
Prompt template
- Format
- Text Parameterized
- Inputs
- csv_file (csv, document) · Required columns (text) · Required colors (text) · Required
- Outputs
- ChartCode (code) PreviewInstructions (text)
Act as a chart animator using Remotion, with Claude Code writing the code. My CSV file is ${csv-file}, with these columns: ${columns}, styled in ${colors}. Build an animated bar chart where bars grow one by one, values count up, and the top bar gets highlighted. Add a title and the source at the bottom, then explain how I open the preview. Example: “Bars grow over 1 second each.” Keep labels readable and values accurate.
Replace the ${…} placeholders with your values
before using this prompt. See parameters
and defaults below
Parameters
Replace each placeholder with your own value, or use its default when one is provided
${csv-file}
csv-file
Required
${columns}
columns
Required
${colors}
colors
Required
What you'll create
This prompt asks for a Remotion bar chart whose bars grow one at a time while values count up, with the top bar highlighted. It also calls for a title, a source label, readable values, and preview instructions
Usage instructions
Frequently asked questions
Which visual details can be customized?
The chart colors can be specified, and the prompt also uses the CSV columns and file
How should the animation pace be set?
The example suggests growing each bar over one second; the prompt does not make that timing a fixed requirement
Comments
Tried this prompt? Share what you made, compare results, or ask a question