🌍 Public
Viewing a saved revision (read-only)
814f756462c24167b5fd8d77cfb769e9
hw5
This visualization displays stacked bar charts of World University Rankings, showing how each university’s score is composed across five categories: Teaching, Research, Citations, Industry Income, and International Outlook. Users can sort the bars by any category in ascending or descending order, and hovering over individual bars reveals the exact value via a tooltip. The chart is rendered with SVG using D3 v6, leveraging `d3.stack()` to compute the stacked series and `d3.scaleBand` and `d3.scaleLinear` for positioning. A custom legend allows highlighting a single category by dimming the others, and the data is loaded from a CSV file.
AI-generated description