Get histogram