Tab.1(3)- Items of general project funding in 2018 (by nature of institutions)
This visualization shows 2018 general project funding items across scientific departments, broken down by institution type (schools, research institutes, and others). A stacked bar chart presents the data, with hover interactions on the legend highlighting specific categories and tooltips revealing exact item counts per department.
The code uses D3.js v3, including `d3.layout.stack()` for stacking, `d3.svg.axis()` for scales, and `d3.legend.color()` for the interactive legend. Transitions and a semi-transparent overlay fade non-hovered bars. SVG renders all elements, with animation triggered by legend hover states.