9

I would like to produce a grouped categorical histogram with LibreOffice Calc. With grouped I mean an histogram with N columns instead of a single one for each category.

Something like this:

grouping.gif

Any clue?

wonea
  • 1,817
  • 1
  • 23
  • 42
Campa
  • 295
  • 1
  • 3
  • 8

2 Answers2

10

I am trying to provide an answer for new users who want to generate basic Histogram in Libreoffice Calc.

The first step is to make the frequency array.

The second step is to generate a Bar Graph based on the frequency array.

enter image description here

pimgeek
  • 268
  • 3
  • 11
  • 2
    [ScottAndrewRogers's answer to *Excel histogram*](https://superuser.com/questions/553121/excel-histogram/699255#699255) also works for OpenOffice and LibreOffice. – Peter Mortensen Mar 27 '17 at 20:12
  • the help link to frequency doesn't work anymore :( – patapouf_ai Dec 17 '22 at 21:29
  • 1
    @patapouf_ai Try this, https://help.libreoffice.org/7.4/en-US/text/scalc/01/04060107.html#bm_id3153883 , will update the Answer. – pimgeek Dec 18 '22 at 07:58
4

You will get such a diagram almost automatically with a 3x3 input matrix:

enter image description here

tohuwawohu
  • 10,303
  • 1
  • 35
  • 63