This stacked bar chart displays the amount of general project funding in 2018, broken down by academic discipline and the nature of hosting institutions (schools, research institutes, and others). The y-axis lists the disciplines, while horizontal bars are segmented by institutional category and scaled by revenue in millions of RMB. The visualization uses D3.js with `d3.layout.stack` for the stacked segments, `d3.svg.axis` for axes, and a `d3.legend.color` legend. Hovering over a legend entry highlights that category in the foreground, and hovering over a bar segment reveals a tooltip via `d3-tip`. The underlying data is sourced from a CSV file with columns for departments, category, and revenue.
AI-generated descriptionThis visualization was originally forked from one of Curran Kelleher's stacked bar chart examples .
Comments
Sign in to join the discussion.