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