A reusable line-chart with api based on d3.js following Mike Bostock's "Towards Reusable Charts"