function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Abhandlungen der Senckenbergischen Naturforschenden Gesellschaft', 1], ['Acta biologica Szegediensis, new', 1], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['British Museum (Natural History)', 3], ['Polar Research', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 4], ['Proceedings of the General Meetings for Scientific Business of the Zoological Society of London', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=12)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);