function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 2], ['Breviora Museum of Comparative Zoology', 2], ['Caldasia', 1], ['Check List', 5], ['Copeia', 16], ['Herpetologica', 2], ['Herpetological Monographs', 2], ['Journal of Natural History', 1], ['Mesoamerican Herpetology', 1], ['Papéis Avulsos de Zoologia', 1], ['Papéis avulsos de zoologia', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['ZooKeys', 2], ['Zoological Journal of the Linnean Society', 5], ['Zootaxa', 74], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=118)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);