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 5 and GPT-5.6-Codex. For more info and tips, check out amCharts AI docs.
Create two side-by-side donut charts sharing a single centered legend below them. Both charts display the same four countries (Lithuania, Czechia, Ireland, Germany) with different values. Each chart shows a centered label with its total sum. Hovering a slice in one chart highlights the corresponding slice in the other. Clicking a legend item toggles visibility in both charts simultaneously. Include a smooth animated sequential entrance on load. Use amCharts 5 library.
Demo source