Send JSON to index view, with a parameter of Line name.
Render d3 chart from backend JSON data, upon sidebar click.