#!/usr/bin/env python # coding: utf-8 # # Population Data from CSV # # This notebooks reads sample population data from `data/atlantis.csv` and plots it using Matplotlib. Edit `data/atlantis.csv` and re-run this cell to see how the plots change! # In[1]: import matplotlib.pyplot as plt import pandas df = pandas.read_csv('../data/atlantis.csv') x = df['year'] y = df['population'] plt.plot(x,y) plt.title("Population of Atlantis") plt.xlabel('Year') plt.ylabel('Population') plt.show()