Implementing tufte's Slopegraph for visualization homework