cleaner line graph code + 3 cities