test2
✓ Published0🌍 Public
A stacked bar chart displays four groups, each segmented into three fruit quantities from a hard-coded dataset. The SVG chart is rendered using React and D3 v5, with `d3.stack()` computing the series layers and `scaleBand` and `scaleLinear` positioning the bars and axes. Each fruit type receives a distinct fill color from an array, and the chart includes no interactive elements.
AI-generated descriptionReact Starter code.
MIT Licensed