function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 7], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['European Journal of Taxonomy', 2], ['NZOI records', 3], ['Proceedings of the Linnean Society of New South Wales', 1], ['Raffles Bulletin of Zoology', 1], ['Species Diversity', 2], ['The Journal of the Linnean Society of London, Zoology', 1], ['ZooKeys', 3], ['Zoological Journal of the Linnean Society', 2], ['Zoosystema', 22], ['Zootaxa', 28] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=73)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);