Generating an interactive scatter plot