Visualise data in front end with count api

do u have any examples?