function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 4], ['Bulletin of the American Museum of Natural History', 3], ['Check List', 11], ['Comparative Cytogenetics', 3], ['Copeia', 1], ['Journal of Natural History', 2], ['Krieger', 2], ['Novitates Caribaea', 8], ['Vertebrate Zoology', 4], ['ZooKeys', 2], ['Zoological Journal of the Linnean Society', 3], ['Zootaxa', 75] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=118)', 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);