• Open in:

Animated Time-Line Pie Chart

Animated timelines are a great type of infographic. This demo shows how to create a pie chart cycling through datasets from a timeline.

Key implementation details

The only thing we need to do manually is set new data items in a loop. And then iterated to the next year. By using the Animated theme you get these nice transitions absolutely free and code-free.

Related tutorials

Build this chart with AI

The prompt below can be used to build this chart with AI. For best coding results, use the most advanced AI models, like Claude Opus 4.6 and GPT-5.3-Codex. For more info and tips, check out amCharts AI docs.

Create an auto-playing animated donut chart that cycles through 20 years of economic sector data (1995-2014). Display 8 sectors (Agriculture, Mining and Quarrying, Manufacturing, Electricity and Water, Construction, Trade, Transport and Communication, Finance/Real Estate/Business Services) with percentage-based size values. The donut should have a large centered year label. Every 4 seconds, automatically transition to the next year's data with smooth animated transitions, then loop back to 1995 after reaching 2014. No manual interaction controls are needed. Use amCharts 5 library.

Demo source