Adding a rudimentary validation stage for infographic data.
Refactoring to collect all the infographic processing together.