function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Aqua, Journal of Ichthyology and Aquatic Biology', 6], ['Breviora', 2], ['Bulletin Acad. R. Belge, Cl. Sci., 5', 2], ['Carnegie Institution of Washington Publication', 2], ['European Journal of Taxonomy', 5], ['Japanese Journal of Ichthyology', 5], ['Notulae Naturae', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 3], ['Proceedings of the Biological Society of Washington', 6], ['Proceedings of the Linnean Society of New South Wales', 2], ['Proceedings of the United States National Museum, 3', 6], ['Species Diversity', 4], ['The Beagle. Records of the Museums and Art Galleries of the Northern Territory', 23], ['ZooKeys', 5], ['Zootaxa', 88], ['Other (25)', 27] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=188)', 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);