{"version":"1.0","type":"rich","title":"Bar Plot with React & D3 for Airline Rating Data #2","description":"This visualization displays average airline ratings from a CSV dataset using a horizontal bar chart built with React and D3 v7. The chart sorts airlines by overall rating with radio-button controls for ascending/descending order and a slider to adjust the number of airlines shown. Bars are colored on a red-to-green gradient using `d3.scaleLinear`, while `d3.scaleBand` positions the categorical axis. The height dynamically expands to accommodate more airlines, with names truncated to 16 characters.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/22d28792bbd74cd98bb74ecbf01a36a7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}