From my experience, niche selection comes first, then keywords, then design.
A great-looking pin in a weak niche won't go far. If you're in evergreen niches (home decor, recipes, DIY, fitness, beauty, finance, etc.), even average pins can perform well.
My order would be:
Niche demand...