ICE-6 Q1
✓ Published0🌍 Public
This example shows the top 15 countries by points scored in FIFA, rendered as a horizontal bar chart using React and D3 v5. The D3 `csv` function loads the data, and `scaleBand` positions the country labels on the y-axis while `scaleLinear` maps point values to bar widths. The chart is drawn as an SVG, with blue gridlines and tick labels generated from `xScale.ticks()`. Spacing above and below the plot area is reserved, though no title or legend appears within the SVG itself.
AI-generated descriptionMIT Licensed