function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Historia fisica y politica de Chile', 1], ['Insect Systematics and Diversity', 3], ['Insecta Mundi', 2], ['Journal of Natural History', 13], ['List of the Specimens of Lepidopterous Insects in the Collection of the British Museum', 2], ['Nachrichten des entomologischen Vereins Apollo, Neue Folge', 2], ['SHILAP Revista de Lepidopterologia', 1], ['Tropical Lepidoptera Research', 2], ['ZooKeys', 108], ['Zootaxa', 33] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=167)', 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);