{"version":"1.0","type":"rich","title":"CSCE5320 Assignment 7","description":"This gallery example implements a reusable bar chart that visualizes CO₂ emissions per capita for countries in 2023, with interactive controls for sorting the bars alphabetically, by value, or by a derived attribute. The D3 v7 script uses chainable getter/setter functions in the closure style to redraw the SVG chart under different orderings, leveraging `d3.scaleBand`, `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft`. Data is loaded from an external CSV file, and the chart is rendered entirely as SVG elements with buttons controlling the sort order.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e96c2837884d42d4a4831a9116d17856?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}