function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of Marine Science', 1], ['Copeia', 1], ['Fishery Bulletin', 6], ['Japanese Journal of Ichthyology', 1], ['Natural History Bulletin of the Siam Society', 1], ['Proceedings of the California Academy of Sciences, Series 4', 2], ['Transactions of the San Diego Society of Natural History', 1], ['United States National Marine Fisheries Service Fishery Bulletin', 2], ['ZooKeys', 1], ['Zoological Journal of the Linnean Society', 4], ['Zoological Studies', 1], ['Zoological journal of the Linnean Society', 2], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=30)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);