function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Cape Provincial Museums Natural History', 1], ['Aqua, Journal of Ichthyology and Aquatic Biology', 7], ['Biodiversity Data Journal', 1], ['Bulletin of Marine Science', 3], ['Copeia', 2], ['Journal of Fish Biology', 1], ['Records of the South Australian Museum', 1], ['Records of the Zoological Survey of India', 1], ['Revue française d\'Aquariologie Herpétologie', 1], ['Senckenbergiana Biologica', 1], ['Species Diversity', 4], ['Stuttgarter Beiträge zur Naturkunde Serie A, Serie A (Biologie)', 1], ['Theses Zoologicae', 2], ['ZooKeys', 6], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=39)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);