def METHOD_NAME(request_params: RequestParams, items: Dict) -> Dict:
    items["data"]["text"] = {
        "title": _("Pedestrian accidents by severity and year"),
        "subtitle": _(request_params.location_text),
        "labels": gen_entity_labels(InjurySeverity),
    }
    return items