VanillaReact401 views
An interactive SVG donut chart that pulls Weekly Activity data through a swappable async seam, then renders a stroke-arc ring with constant-width separators, a center total, a count-up share KPI with trend delta, a dotted-leader legend, and a hidden data table.
Chart component
An interactive SVG donut chart that pulls Weekly Activity data through a swappable async seam, then renders a stroke-arc ring with constant-width separators, a center total, a count-up share KPI with trend delta, a dotted-leader legend, and a hidden data table.
js/data.js holds the dataset and js/api.js exposes an async fetchDonutData() that clones it, so the mock swaps for a real endpoint without touching render code.aria-hidden="true"; the same data is mirrored in a visually-hidden data table.aria-labelledby the visible chart title.aria-label of "Download data as CSV".:focus-visible outline drawn with the --ring token.prefers-reduced-motion collapses all animations and transitions.Open Donut Chart in Atheros AI Builder, pick a design system and ask the AI assistant to change the layout, copy or behaviour — the chart is regenerated against your tokens. Take the HTML, CSS, JS and React source with you, or pull it into your repo from Claude Code, Cursor or Codex over MCP.
300+ production-ready components and Atheros AI models. Every paid plan includes access to the whole Atheros — AI Builder and Learning.
Starting at $9.9 per month, billed annually