[fix] Use d3.scale to define Category graphs