{"version":"1.0","type":"rich","title":"Bar Chart","description":"This bar chart displays the top 10 countries by Happiness Score from the World Happiness Report data, sorted in descending order before rendering. The chart uses a linear scale for the x-axis (Happiness Score) and a band scale for the y-axis (Country names), with bars filled in steelblue. The code leverages D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, `axisBottom`, and `csv` to load and process the data, while React handles the component structure. The y-axis labels are cleaned by removing gridlines and domain paths, and the x-axis is labeled “Happiness Score.”","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9fa303d3bb224705869db62e464c9c11?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}