Gentleface › Charts & data › donut-chart
donut-chart icon
donut-chartDonut chart: donut chart, doughnut chart, ring chart. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M2.904 2.904C3.538 2.269 4.273 1.787 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.213 10.727 12.731 11.462 12.096 12.096C11.462 12.731 10.727 13.213 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.787 4.273 2.269 3.538 2.904 2.904ZM12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C9.031 2.191 8.522 2.069 8 2.022L8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.238 4.424 9.633 4.683 9.975 5.025C10.317 5.367 10.576 5.762 10.754 6.212C10.856 6.468 10.926 6.731 10.965 7L12.978 7C12.931 6.478 12.809 5.969 12.614 5.475ZM5.475 2.386C4.769 2.666 4.148 3.074 3.611 3.611C3.074 4.148 2.666 4.769 2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.604 10.074 2.899 10.573 3.273 11.02L4.696 9.596C4.512 9.35 4.361 9.08 4.246 8.788C4.082 8.375 4 7.945 4 7.5C4 7.055 4.082 6.625 4.246 6.212C4.424 5.762 4.683 5.367 5.025 5.025C5.367 4.683 5.762 4.424 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 2.022C6.478 2.069 5.969 2.191 5.475 2.386ZM5.176 8.42C5.303 8.741 5.488 9.024 5.732 9.268C5.976 9.512 6.259 9.697 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.741 9.697 9.024 9.512 9.268 9.268C9.512 9.024 9.697 8.741 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.697 6.259 9.512 5.976 9.268 5.732C9.024 5.488 8.741 5.303 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.259 5.303 5.976 5.488 5.732 5.732C5.488 5.976 5.303 6.259 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42ZM10.754 8.788C10.576 9.238 10.317 9.633 9.975 9.975C9.633 10.317 9.238 10.576 8.788 10.754C8.375 10.918 7.945 11 7.5 11C7.055 11 6.625 10.918 6.212 10.754C5.92 10.639 5.65 10.488 5.404 10.304L3.98 11.727C4.427 12.101 4.926 12.396 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.231 12.334 10.852 11.926 11.389 11.389C11.926 10.852 12.334 10.231 12.614 9.525C12.809 9.031 12.931 8.522 12.978 8L10.965 8C10.926 8.269 10.856 8.532 10.754 8.788Z"/></svg>
// Gentleface "donut-chart" (line-round), MIT. https://gentleface.com/icons/donut-chart
import type { SVGProps } from 'react';
export function DonutChartIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M2.904 2.904C3.538 2.269 4.273 1.787 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.213 10.727 12.731 11.462 12.096 12.096C11.462 12.731 10.727 13.213 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.787 4.273 2.269 3.538 2.904 2.904ZM12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C9.031 2.191 8.522 2.069 8 2.022L8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.238 4.424 9.633 4.683 9.975 5.025C10.317 5.367 10.576 5.762 10.754 6.212C10.856 6.468 10.926 6.731 10.965 7L12.978 7C12.931 6.478 12.809 5.969 12.614 5.475ZM5.475 2.386C4.769 2.666 4.148 3.074 3.611 3.611C3.074 4.148 2.666 4.769 2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.604 10.074 2.899 10.573 3.273 11.02L4.696 9.596C4.512 9.35 4.361 9.08 4.246 8.788C4.082 8.375 4 7.945 4 7.5C4 7.055 4.082 6.625 4.246 6.212C4.424 5.762 4.683 5.367 5.025 5.025C5.367 4.683 5.762 4.424 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 2.022C6.478 2.069 5.969 2.191 5.475 2.386ZM5.176 8.42C5.303 8.741 5.488 9.024 5.732 9.268C5.976 9.512 6.259 9.697 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.741 9.697 9.024 9.512 9.268 9.268C9.512 9.024 9.697 8.741 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.697 6.259 9.512 5.976 9.268 5.732C9.024 5.488 8.741 5.303 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.259 5.303 5.976 5.488 5.732 5.732C5.488 5.976 5.303 6.259 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42ZM10.754 8.788C10.576 9.238 10.317 9.633 9.975 9.975C9.633 10.317 9.238 10.576 8.788 10.754C8.375 10.918 7.945 11 7.5 11C7.055 11 6.625 10.918 6.212 10.754C5.92 10.639 5.65 10.488 5.404 10.304L3.98 11.727C4.427 12.101 4.926 12.396 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.231 12.334 10.852 11.926 11.389 11.389C11.926 10.852 12.334 10.231 12.614 9.525C12.809 9.031 12.931 8.522 12.978 8L10.965 8C10.926 8.269 10.856 8.532 10.754 8.788Z" />
</svg>
);
}Vue: see /icons/donut-chart.md
Svelte: see /icons/donut-chart.md
HTML img: see /icons/donut-chart.md
CSS: see /icons/donut-chart.md
Data URL: see /icons/donut-chart.md
Sprite: see /icons/donut-chart.md
SwiftUI: see /icons/donut-chart.md
Compose: see /icons/donut-chart.md
Android XML: see /icons/donut-chart.md
Flutter: see /icons/donut-chart.md
Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
Meaning
- Use it for
- donut chart, doughnut chart, ring chart
- Alternatives
pie-chart: a full pie (pie-chart)circle-progress: a single progress value (progress-status)
- Also fits
- pie chart: a ring with a hole (donut-chart)
- Not for
- donut (use
donut): donut-chart is the chart type
- donut (use
- Tags
- chart, donut, ring, doughnut, proportion, percentage, statistics
- Category
- Charts & data
- Component name
DonutChartIcon- History
- added
Family 33
More charts & data icons
chart-legend flowchart gauge node-graph word-cloud · all charts & data icons
For agents
Metadata: /icons/donut-chart.json · Markdown: /icons/donut-chart.md · SVG: https://gentleface.com/svg/{style}/16/donut-chart.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/donut-chart.png