function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Humboldt., Geol.', 1], ['Annals of the Carnegie Museum', 2], ['Bulletin de la Societe d\'Histoire Naturelle de Toulouse', 1], ['Check List', 3], ['Copeia', 3], ['Ind. Univ. Studies', 2], ['Journal of Fish Biology', 1], ['Neotropical Ichthyology', 1], ['Notulae Naturae', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Proceedings of the United States National Museum, 3', 1], ['Publications of the Field Museum of Natural History, Zoölogical', 1], ['Revue française d\'Aquariologie Herpétologie', 3], ['Smithsonian Contributions to Zoology', 14], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=43)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);