Reusable charting library for d3.js (line, bar, column, scatter)