{"version":"1.0","type":"rich","title":"CSCE 5320 HW 7","description":"This interactive bar chart compares the effect of three row-ordering strategies—alphabetical, by value, and by a derived attribute—on a table of baseball statistics from 2023. The reusable `barChart()` function, built with D3 v7, applies different sort comparators to the same dataset, allowing side-by-side comparison through toggle buttons. The chart renders as an SVG with axes and labels, using `d3.ascending`, `d3.descending`, and `d3.scaleBand` for positioning. The visible code currently loads CSV data from a GitHub gist and supports values like home runs (HR) but the full rendering logic is incomplete in the shown snippet.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/bc639ce639f34f838620023afca02a90?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}