🌍 Public
Viewing a saved revision (read-only)
b3d6b77d52a94ea29ff2068e89e902b1
RT15
The visualization displays cotton production across different countries using a horizontal bar chart, with each bar representing a nation’s output in metric tons. The chart highlights production quantities through bar lengths, colored steelblue with hover effects that lighten the bars. It uses D3 v7 to parse CSV data from a remote URL, then applies `d3.scaleBand` for country categories and `d3.scaleLinear` for production values. The SVG rendering includes labeled axes, a title, and subtitle, with data loaded asynchronously via the Fetch API and parsed manually into arrays.
AI-generated description