Visualization 1 (Stacked Bars)
This interactive stacked bar chart compares sales across market segments and product sub-categories, with each bar segmented by sub-category and colored by segment. The visualization uses D3.js version 3.5.5 with the SVG rendering and animation APIs, featuring hover tooltips via d3-tip and a color legend that filters foreground bars when hovered. Data is loaded from CSV files showing sales figures for Consumer, Corporate, and Home Office segments across seventeen sub-categories, displayed with formatted axis labels and a custom SI tick formatter using the `d3.format` API.