Generate tags based on CSV


I’ve created a design where I show a photo and above that a list of tags, for example: sport, food, skiing. Those tags have a design. (border, color, …)

I’ve have also a list of items stored in CSV file. For each photo, I have different tags (+ different amounts)

How can I combine the CSV with my design?