doc + frequency field + graph example