Untitled
A bar chart displays XYZ Foods stock prices over multiple years, with steel-blue bars representing annual values. The visualization includes labeled axes: a rotated "Stock Price" y-axis formatted with dollar signs and a "Year" x-axis. Built with React and D3 v4, the code uses `d3.scaleBand`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft` to render SVG elements, loading data from an external CSV file via `d3.csv`.