Write results and visualize with Google Chart