histogram layout +  more date variety to the json

@dhowe take a look