Reduce dataset based on zoom

Implement c3ext.js, supporting zoom2 behaviour that reduces the dataset when zooming out, and enhances it when zooming in