function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['Crustacean Research.', 1], ['Hoffmann', 1], ['Journal of Natural History', 33], ['Nauplius', 1], ['Occasional Papers of the Bernice P. Bishop Museum', 1], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Raffles Bulletin of Zoology', 94], ['Treubia, Mus. Zool. Borgoriense', 1], ['ZooKeys', 5], ['Zoological Journal of the Linnean Society', 2], ['Zoosystema', 6], ['Zootaxa', 123] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=270)', 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);