convenience function to generate batch html plots