function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Carnegie Museum', 2], ['Annotationes Zoologicae Japonenses', 2], ['Biodiversity Data Journal', 2], ['Bulletin of the Kanagawa Prefectural Museum (Natural Science)', 9], ['Bulletin of the Kanagawa Prefectural Museum, Natural Science', 2], ['Bulletin of the United States Bureau of Fisheries', 3], ['Ichthyological Exploration of Freshwaters', 2], ['Journal of Natural History', 4], ['Journal of the Taiwan Museum', 2], ['Marine and Freshwater Research', 3], ['Monogr. Bur. Sci. Manila', 4], ['Philippine Journal of Science, Section D', 2], ['Raffles Bulletin of Zoology', 5], ['Zoological Studies', 4], ['Zootaxa', 55], ['Other (9)', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=111)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);