var ctx = document.getElementById(\'myChart\').getContext(\'2d\'); var myChart = new Chart(ctx, { type: \'bar\', data: { labels: [], datasets: [{ label: \'# of Votes\', data