c3js for card count chart