Using groups in Histogram

Dear Kibana experts, any clue on a possible solution to get such a grouped histogram?