Gentleface › Charts & data › bar-chart-horizontal
bar-chart-horizontal icon
bar-chart-horizontalBar chart horizontal: horizontal bar chart, horizontal bar graph, sector performance. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated bar-chart-horizontal-rerank · line-round
The values change hands as live data comes in. The longest length moves down a row twice and wraps back to the middle, with all three bars resizing a moment apart and overshooting.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 2.6 s. Examples and helper.
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="M6.856 1.144C6.952 1.241 7 1.359 7 1.5L7 4.5C7 4.641 6.952 4.759 6.856 4.856C6.759 4.952 6.641 5 6.5 5L2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L6.5 1C6.641 1 6.759 1.048 6.856 1.144ZM6 2L3 2L3 4L6 4L6 2ZM2.144 6.144C2.241 6.048 2.359 6 2.5 6L13.5 6C13.641 6 13.759 6.048 13.856 6.144C13.952 6.241 14 6.359 14 6.5L14 9.5C14 9.641 13.952 9.759 13.856 9.856C13.759 9.952 13.641 10 13.5 10L2.5 10C2.359 10 2.241 9.952 2.144 9.856C2.048 9.759 2 9.641 2 9.5L2 6.5C2 6.359 2.048 6.241 2.144 6.144ZM13 9L13 7L3 7L3 9L13 9ZM10 11.5L10 14.5C10 14.641 9.952 14.759 9.856 14.856C9.759 14.952 9.641 15 9.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L9.5 11C9.641 11 9.759 11.048 9.856 11.144C9.952 11.241 10 11.359 10 11.5ZM3 14L9 14L9 12L3 12L3 14Z"/></svg>
// Gentleface "bar-chart-horizontal" (line-round), MIT. https://gentleface.com/icons/bar-chart-horizontal
import type { SVGProps } from 'react';
export function BarChartHorizontalIcon(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="M6.856 1.144C6.952 1.241 7 1.359 7 1.5L7 4.5C7 4.641 6.952 4.759 6.856 4.856C6.759 4.952 6.641 5 6.5 5L2.5 5C2.359 5 2.241 4.952 2.144 4.856C2.048 4.759 2 4.641 2 4.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1L6.5 1C6.641 1 6.759 1.048 6.856 1.144ZM6 2L3 2L3 4L6 4L6 2ZM2.144 6.144C2.241 6.048 2.359 6 2.5 6L13.5 6C13.641 6 13.759 6.048 13.856 6.144C13.952 6.241 14 6.359 14 6.5L14 9.5C14 9.641 13.952 9.759 13.856 9.856C13.759 9.952 13.641 10 13.5 10L2.5 10C2.359 10 2.241 9.952 2.144 9.856C2.048 9.759 2 9.641 2 9.5L2 6.5C2 6.359 2.048 6.241 2.144 6.144ZM13 9L13 7L3 7L3 9L13 9ZM10 11.5L10 14.5C10 14.641 9.952 14.759 9.856 14.856C9.759 14.952 9.641 15 9.5 15L2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L9.5 11C9.641 11 9.759 11.048 9.856 11.144C9.952 11.241 10 11.359 10 11.5ZM3 14L9 14L9 12L3 12L3 14Z" />
</svg>
);
}Vue: see /icons/bar-chart-horizontal.md
Svelte: see /icons/bar-chart-horizontal.md
HTML img: see /icons/bar-chart-horizontal.md
CSS: see /icons/bar-chart-horizontal.md
Data URL: see /icons/bar-chart-horizontal.md
Sprite: see /icons/bar-chart-horizontal.md
SwiftUI: see /icons/bar-chart-horizontal.md
Compose: see /icons/bar-chart-horizontal.md
Android XML: see /icons/bar-chart-horizontal.md
Flutter: see /icons/bar-chart-horizontal.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. 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.
With npm: import { BarChartHorizontalIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- horizontal bar chart, horizontal bar graph, sector performance
- Don’t confuse with
gantt-chart: offset bars on a time axis mean a project schedule
- Also fits
- bar chart: bars running left to right (horizontal-bar-chart)
- Not for
- poll (use
poll): a horizontal bar chart is data, not a poll
- poll (use
- Tags
- chart, graph, bars, horizontal, ranking, comparison, statistics, report
- Category
- Charts & data
- Component name
BarChartHorizontalIcon- History
- added, released in 0.1.0
- 20 px drawn, 24 px drawn
- 20 px redrawn
- Since
- version 0.1.0
Family 70
More charts & data icons
chart-legend dimension-horizontal flowchart gauge infographic join-left join-right node-graph node-graph-minus node-graph-plus touchpoints word-cloud · all charts & data icons
For agents
Metadata: /icons/bar-chart-horizontal.json · Markdown: /icons/bar-chart-horizontal.md · SVG: https://gentleface.com/svg/{style}/16/bar-chart-horizontal.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/bar-chart-horizontal.png