Stacked Bar Chart
✓ Published0🌍 Public
This stacked bar chart visualizes the component scores—Teaching, Research, Citations, Income, and International—from the TIMES World University Rankings 2024 CSV data. Each bar represents a university, with segments stacked by criterion and color-coded via a `d3.scaleOrdinal`. Users can sort the bars by total score in ascending or descending order using buttons that call `updateChart`, which animates bar positions with `transition` and updates the `d3.axisBottom` x-axis. Tooltips display individual segment scores on hover, and the SVG rendering uses `d3.stack` for layout.
AI-generated descriptionMIT Licensed