function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the National Museum of Nature and Science, Series A (Zoology)', 10], ['Invertebrate Systematics', 1], ['Journal of Natural History', 9], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Species Diversity', 4], ['Vema Research Series', 1], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 1], ['Zoosystematics and Evolution', 1], ['Zootaxa', 80] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=111)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);