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