🌍 Public
Viewing a saved revision (read-only)
df19002c960040a581c122388e6341eb
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