🌍 Public
Viewing a saved revision (read-only)
5f61db5bd12d479daa7d22b5bebdc84d
ICE 6 Marks and Channels
A horizontal bar chart displays the sales figures for the top 15 supermarket customers. Each bar’s color alternates between red and light blue based on its array position. The chart uses React with D3 v5’s `scaleBand` and `scaleLinear` to position bars, while axis ticks are generated manually from the scales. Data is loaded from a CSV file via `d3.csv` and rendered as SVG rectangles.
AI-generated description