Stacked bar chart v4 Stocks
This stacked bar chart, built with D3 v4, visualizes the monthly closing stock prices for four major tech companies (MSFT, AMZN, IBM, AAPL) across four selected years. It uses `d3.csv` to load data from `stocks.csv`, then filters and aggregates the data to display stacked rectangles. The chart employs `d3.scaleLinear` for both the x and y axes, with each month’s bar segmented by company, colored in grayscale, and rendered as SVG. The visualization includes axis labels and company legends, with a dark background for contrast.