function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biologiya Morya (Vladivostok), Vladivostok', 1], ['Boston Journal of Natural History', 3], ['Bulletin of the United States Bureau of Fisheries', 1], ['Contr. Biol. Lab. Sci. Soc. China, Zool. Ser.', 1], ['Cybium', 1], ['Journal of the Academy of Natural Sciences of Philadelphia', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 3], ['Proceedings of the California Academy of Sciences, Series 1', 1], ['Proceedings of the United States National Museum, 3', 3], ['Proceedings of the Zoological Society of London, B', 1], ['University Bookstore', 1], ['Wolfgang Gerle', 1], ['Zootaxa', 11] ]); 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);