Stacked Bar Chart
This stacked bar chart displays the distribution of Nike manufacturing factories across countries, with each bar broken down by product type. The visualization aggregates and filters the data to show only countries with more than ten factories. Users can hover over individual bar segments to see tooltips with the country and factory count, or hover over legend entries to highlight specific product categories. Built with D3.js v3, it uses `d3.layout.stack`, `d3.nest`, scales, axes, and the d3-tip and d3-legend libraries, rendering with SVG and supporting interactive animations.
AI-generated descriptionStacked bar chart showing Nike Factory Distribution across Countries
This visualization shows Nike Global Manufacturing Data Export. It visualizes the distribution of Nike manufacturing factories all over the world based on product types they manufacture. Hovering over bars shows tooltips with number of factories and country name. Also, hovering on legend values highlights respective product category bar portions. This visualization also includes preprocessing of data such as aggregating based on country/product type, filtering and showing only countries that have overall count of factories more than 10.