Gentleface › Charts & data › bar-chart
bar-chart icon
bar-chartBar chart: bar chart, statistics, analytics, column chart. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.
Animated bar-chart-grow · line-round
The bars sink onto the baseline, then rise one after another and overshoot their values before settling.
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.2 s to 1.9 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.144 2.144C6.241 2.048 6.359 2 6.5 2L9.5 2C9.641 2 9.759 2.048 9.856 2.144C9.952 2.241 10 2.359 10 2.5L10 13.5C10 13.641 9.952 13.759 9.856 13.856C9.759 13.952 9.641 14 9.5 14L6.5 14C6.359 14 6.241 13.952 6.144 13.856C6.048 13.759 6 13.641 6 13.5L6 2.5C6 2.359 6.048 2.241 6.144 2.144ZM9 13L9 3L7 3L7 13L9 13ZM14.856 6.144C14.952 6.241 15 6.359 15 6.5L15 13.5C15 13.641 14.952 13.759 14.856 13.856C14.759 13.952 14.641 14 14.5 14L11.5 14C11.359 14 11.241 13.952 11.144 13.856C11.048 13.759 11 13.641 11 13.5L11 6.5C11 6.359 11.048 6.241 11.144 6.144C11.241 6.048 11.359 6 11.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM14 13L14 7L12 7L12 13L14 13ZM4.856 9.144C4.952 9.241 5 9.359 5 9.5L5 13.5C5 13.641 4.952 13.759 4.856 13.856C4.759 13.952 4.641 14 4.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L4.5 9C4.641 9 4.759 9.048 4.856 9.144ZM4 10L2 10L2 13L4 13L4 10Z"/></svg>
// Gentleface "bar-chart" (line-round), MIT. https://gentleface.com/icons/bar-chart
import type { SVGProps } from 'react';
export function BarChartIcon(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.144 2.144C6.241 2.048 6.359 2 6.5 2L9.5 2C9.641 2 9.759 2.048 9.856 2.144C9.952 2.241 10 2.359 10 2.5L10 13.5C10 13.641 9.952 13.759 9.856 13.856C9.759 13.952 9.641 14 9.5 14L6.5 14C6.359 14 6.241 13.952 6.144 13.856C6.048 13.759 6 13.641 6 13.5L6 2.5C6 2.359 6.048 2.241 6.144 2.144ZM9 13L9 3L7 3L7 13L9 13ZM14.856 6.144C14.952 6.241 15 6.359 15 6.5L15 13.5C15 13.641 14.952 13.759 14.856 13.856C14.759 13.952 14.641 14 14.5 14L11.5 14C11.359 14 11.241 13.952 11.144 13.856C11.048 13.759 11 13.641 11 13.5L11 6.5C11 6.359 11.048 6.241 11.144 6.144C11.241 6.048 11.359 6 11.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM14 13L14 7L12 7L12 13L14 13ZM4.856 9.144C4.952 9.241 5 9.359 5 9.5L5 13.5C5 13.641 4.952 13.759 4.856 13.856C4.759 13.952 4.641 14 4.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L4.5 9C4.641 9 4.759 9.048 4.856 9.144ZM4 10L2 10L2 13L4 13L4 10Z" />
</svg>
);
}Vue: see /icons/bar-chart.md
Svelte: see /icons/bar-chart.md
HTML img: see /icons/bar-chart.md
CSS: see /icons/bar-chart.md
Data URL: see /icons/bar-chart.md
Sprite: see /icons/bar-chart.md
SwiftUI: see /icons/bar-chart.md
Compose: see /icons/bar-chart.md
Android XML: see /icons/bar-chart.md
Flutter: see /icons/bar-chart.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 { BarChartIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- bar chart, statistics, analytics, column chart, bar graph, trading volume, stats
- Alternatives
bar-chart-horizontal: bars running left to right (horizontal-bar-chart)histogram: a distribution over value ranges (histogram)line-chart: trends over time (line-chart)file-chart: a report document (report-file)layout-dashboard: a dashboard of widgets (dashboard)
- Also fits
- histogram: values per category, not per range (bar-chart)
- graph: a bar chart (bar-chart)
- report file: analytics or a chart without a document (analytics)
- revenue: revenue analytics
- bar: a bar chart
- analysis: data analysis or analytics
- traffic: web traffic or visits (analytics)
- Not for
- cellular signal (use
signal): rising bars of a chart mean data (bar-chart) - now playing (use
audio-lines): chart bars rise from a baseline and mean data, not sound
- cellular signal (use
- Tags
- chart, graph, bars, stats, column, report
- Category
- Charts & data
- Component name
BarChartIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- 20 px redrawn
- Since
- version 0.1.0
Family 59
More charts & data icons
chart-legend flowchart gauge node-graph word-cloud · all charts & data icons
For agents
Metadata: /icons/bar-chart.json · Markdown: /icons/bar-chart.md · SVG: https://gentleface.com/svg/{style}/16/bar-chart.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/bar-chart.png