Generate a chart for ranking data