Skip to main content
100%

ICE-6 Q1

✓ Published0🌍 Public
DDeeraj Thakkilapati
Last edited Mar 5, 2023
Created on Mar 5, 2023
Forked from Fork of D3 Starter

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 description
MIT Licensed

Similar vizzes