Exercise from book Interactive Data Visualization