function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 6], ['Biological Journal of the Linnean Society', 4], ['Bulletin of the American Museum of Natural History', 11], ['Handbook of the Mammals of the World – Volume 9 Bats', 16], ['Journal of Mammalogy', 1], ['Journal of mammalogy', 1], ['Mammal Species of the World (1 st Edition)', 11], ['Mammal Species of the World (2 nd Edition)', 11], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 24], ['Molecular phylogenetics and evolution', 1], ['Opinions And Declarations Rendered By The International Commission On Zoological Nomenclature', 3], ['Zootaxa', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=97)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);