gentleface

Gentleface › Charts & data › histogram

histogram icon

Histogram: histogram, distribution, frequency distribution. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M4 4.5C4 4.359 4.048 4.241 4.144 4.144C4.241 4.048 4.359 4 4.5 4L7 4L7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2L10.5 2C10.641 2 10.759 2.048 10.856 2.144C10.952 2.241 11 2.359 11 2.5L11 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.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 9L4 4.5ZM10 3L8 3L8 13L10 13L10 3ZM5 13L7 13L7 5L5 5L5 13ZM13 8L11 8L11 13L13 13L13 8ZM4 10L2 10L2 13L4 13L4 10Z"/></svg>
React
// Gentleface "histogram" (line-round), MIT. https://gentleface.com/icons/histogram
import type { SVGProps } from 'react';

export function HistogramIcon(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="M4 4.5C4 4.359 4.048 4.241 4.144 4.144C4.241 4.048 4.359 4 4.5 4L7 4L7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2L10.5 2C10.641 2 10.759 2.048 10.856 2.144C10.952 2.241 11 2.359 11 2.5L11 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5L14 13.5C14 13.641 13.952 13.759 13.856 13.856C13.759 13.952 13.641 14 13.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 9L4 4.5ZM10 3L8 3L8 13L10 13L10 3ZM5 13L7 13L7 5L5 5L5 13ZM13 8L11 8L11 13L13 13L13 8ZM4 10L2 10L2 13L4 13L4 10Z" />
    </svg>
  );
}
Vue
Vue: see /icons/histogram.md
Svelte
Svelte: see /icons/histogram.md
HTML img
HTML img: see /icons/histogram.md
CSS
CSS: see /icons/histogram.md
Data URL
Data URL: see /icons/histogram.md
Sprite
Sprite: see /icons/histogram.md
SwiftUI
SwiftUI: see /icons/histogram.md
Compose
Compose: see /icons/histogram.md
Android XML
Android XML: see /icons/histogram.md
Flutter
Flutter: see /icons/histogram.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
histogram, distribution, frequency distribution
Alternatives
  • bar-chart: values per category, not per range (bar-chart)
Also fits
  • bar chart: a distribution over value ranges (histogram)
Tags
histogram, distribution, frequency, bins, chart, graph, statistics, data
Category
Charts & data
Component name
HistogramIcon
History
  • added

Family 33

More charts & data icons

For agents

Metadata: /icons/histogram.json · Markdown: /icons/histogram.md · SVG: https://gentleface.com/svg/{style}/16/histogram.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/histogram.png

Feedback