Skip to content

Latest commit

 

History

History
210 lines (130 loc) · 13.4 KB

README.en.md

File metadata and controls

210 lines (130 loc) · 13.4 KB
DataMagic Logo

Pick an effect. Tell a story with your data.

A reusable recipe library for animated charts and data stories, for creators, analysts, and researchers.

IEEE VIS 2026 VLDB 2026 Demo

中文 | English

Watch the showcase · Browse recipes · Start creating · Build a story · 💬 Community · Try online · Research & citation

DataMagic offers 139 motion recipe cards, each with a preview, editable source, and sample data. Choose an effect and give its implementation instructions and your data to a coding agent. The companion datamagic Skill guides the agent through reading the recipe, adapting the template, rendering, and checking the result.

✨ What's new

🎬 See data become a story

Character hosts, perspective boards, bar chart races, footage, timeline moves, and layered map glides: explore six approaches in the complete 30-second showcase below.

datamagic-showcase-zh-voiced.mp4

The reel uses actual library animations and demonstration data, with Chinese narration and captions. Each recipe below links to its implementation so you can replace the data, copy, and media.

✨ Explore the effects

The GIFs below play automatically. Click a GIF for the high-resolution preview, or open the recipe for implementation details and source locations.

Recipes have separate Chinese and English documents. The gallery displays the document in your selected language; English recipes are also available directly. Code identifiers, parameter names and file paths remain unchanged for agent reuse.

Character host and data board Presenter-to-chart handoff Countdown ranking
Character perspective board Presenter data takeover Countdown ranking
Explain with a character, perspective board, and staged evidence. Recipe Shift attention between the presenter and the data. Recipe Build suspense and comparison through sequential reveals. Recipe
Footage to evidence Travel through a trend Maps and regional comparison
Footage to evidence Timeline camera Regional map and ranking
Establish the scene, then introduce its key metrics. Recipe Move along a timeline and pause at important changes. Recipe Explain differences through geography and rankings. Recipe

The library also covers bars, lines, shares, scatterplots, flows, openings, conclusions, and transitions, plus a 9:16 portrait ranking for mobile content. Adapt the data, copy, colors, media, and timing, and keep the editable source.

Explore all recipes →

🎯 Find an approach for your story

What you want to explain Visual approaches Example uses
A finding worth explaining Hosts, character windows, perspective boards Finance explainers, education, creator content
Who leads and what changed Countdown rankings, bar races, rank changes Industry rankings, competition, sports
Where growth comes from Timeline moves, focus shots, contribution comparisons Earnings, business reviews, product growth
How places differ Regional maps, routes, map rankings Cities, population, regional economies
What real footage reveals Footage-to-evidence transitions, negative-space overlays Industry, environment, documentary content

See it, adapt it, keep creating

  • Start with an effect you like: browse animations or ask the agent to recommend a recipe for your data.
  • Reuse tuned motion: adapt the matching source, including entrances, focus, highlights, and closing holds.
  • Bring your data and identity: replace values, labels, units, titles, colors, and media; country flags, brand marks, and category illustrations follow their entities through motion, ranking changes, and reveals.
  • Build an explanation: combine people, footage, charts, and conclusions into a sequence.
  • Keep editable output: retain the video and source for your next topic.

💬 Community

Join the DataMagic WeChat community to discuss recipes, share your data videos, and give feedback.

DataMagic WeChat community 蟹哥聊科研 · Xiege's research notes
DataMagic community administrator's WeChat QR code 蟹哥聊科研 WeChat public account QR code
Scan to add the administrator, mention “DataMagic”, and receive a group invitation. Scan to follow the public account for AI tools, research practice, and tutorials in Chinese.

🚀 Create with your content

Watch a real reuse walkthrough

Turn a coffee-sales CSV into a bar chart race with drink icons, then change the title, highlight lattes, and extend the ending. Each drink retains its own color, and icons travel with their labels as ranks change. This 72-second walkthrough starts with the Chinese search “动态柱状图竞赛”, then follows selection, copying instructions, task input, generation, and revision. Gallery interaction is recorded; the task panel is explicitly labeled as a reconstructed workflow, not a client recording. The revised output plays in full. Narration and embedded captions are in Chinese.

datamagic-workflow-v2-web.mp4

Example data, prompts and reproduction record

1. Pick an effect

Watch the gallery previews and click “Copy implementation instructions.” If you are still choosing an effect, give the agent your data and intended use so it can suggest suitable recipes.

Search with Chinese or English keywords, partial names, and common aliases rather than code identifiers. Try “猫主持”, “柱状”, or “条形图竞赛”; combine terms with spaces, such as “国家 排名”.

2. Give the recipe and data to your agent

Clone the repository and open your coding agent in its directory:

git clone https://github.com/HKUSTDial/DataMagic.git
cd DataMagic

Paste the implementation instructions, attach your data, and describe the result you want:

Use this repository's datamagic Skill to adapt RankedReveal to my sales.csv. Keep the sequential reveal, use my brand colors, and deliver an MP4 with editable source.

The companion Skill helps the agent locate source files, map data fields, adapt the visuals, and check the result. You can also start with a goal:

I want to explain how sales changed across regions. Recommend suitable recipes for this CSV, then use the best fit to create a short video.

3. Review and refine

Check the values, labels, and conclusion. Ask the agent to adjust the result: “Hold the ending for two more seconds,” “Highlight the East region,” or “Adapt the layout for mobile viewing.”

Usage and installation guide · Browse and render locally

More ways to start

Adapt an explainer:

Use CharacterPerspectiveBoard with a cat presenter on the left and the angled data board on the right. Map my data to the chart, highlight each item, and hold the conclusion. Start with the existing sample assets.

Create for mobile:

Use PortraitRankedReveal to turn this ranking into a 9:16 video. Reveal entries from last to first and keep names, values, and units readable.

Apply your identity:

Keep this recipe's camera motion and structure, adapt its titles, colors, and media to my brand, check the values and labels, and deliver video plus source.

🎞️ Build a story from several shots

Open with a question, present evidence through charts, then develop the explanation through comparisons, turns, and a conclusion. 8 story blueprints offer starting structures for the agent to select recipes and compose shots around your content.

Use this quarterly sales table to make a 30-second story: introduce the growth, compare regional contributions, and summarize the main finding. Reuse library recipes and keep colors and captions consistent.

For deeper data analysis, scripts, and narration, follow Plan a complete video from data. The same Skill draws on analysis, narrative planning, and timing guidance as the task requires.

📦 What's in the repository

Resource Where to start
Animation previews, recipes, and source references Online gallery · Recipes
Template source, sample data, and rendering Cards development guide
Agent usage and installation datamagic guide
Planning and creating multi-shot stories Full-story workflow
Showcase videos, cover, and reproducible build script Showcase notes
Automatic generation examples and walkthrough Online system

🪄 Explore further: automatic video generation

The DataMagic online system combines table upload, data analysis, scene planning, narration, and video export. Review its recommendations and adjust the content and visuals.

Complete system examples include a story about competition in the Chinese EV market, illustrating the workflow from a table to a multi-shot video.

Explore the system walkthrough, generation modes, and more complete examples →

📚 Research and documentation

DataMagic research studies data binding, narrative orchestration, and narration timing, informing both recipe reuse and complete video production.

Cite DataMagic

If you find DataMagic useful in your research or work, please cite:

IEEE VIS 2026 full paper:

@misc{xie2026datamagicauthoringdata,
  title={DataMagic: Authoring Data Videos through Declarative Multi-Agent Orchestration},
  author={Yupeng Xie and Zhenyang Wang and Liangwei Wang and Jiayi Zhu and Zhouan Shen and Yuyu Luo},
  year={2026},
  eprint={2609.33403},
  archivePrefix={arXiv},
  primaryClass={cs.HC},
  url={https://arxiv.org/abs/2609.33403},
}

🗺️ What's next

  • More story recipes, domain examples, and portrait layouts.
  • More reuse examples across different datasets and topics.
  • Multitrack workbench and Jianying delivery: simplify the workflow and complete Mac desktop validation; retained as a future TODO.

🤝 Contribute

Share what you create, contribute a recipe, or report an issue through GitHub Issues. Contributing guide

Online system and trial credits · Document history · MIT License · Security reports