function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anthropological Science', 2], ['Current Biology', 4], ['European Journal of Taxonomy', 13], ['Geodiversitas', 19], ['Handbook of the Mammals of the World – Volume 2 Hoofed Mammals', 3], ['London Medical Repository', 1], ['Mammal Species of the World (1 st Edition)', 5], ['Mammal Species of the World (2 nd Edition)', 5], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 7], ['Neues Jahrbuch für Geologie und Paläontologie-Abhandlungen', 1], ['Public Library of Science, ONE', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=61)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);