{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"This example shows a horizontal bar chart comparing the populations of ten countries, represented as SVG rectangles encoded by length along the x-axis. The chart’s axes are composed from React components (AxisBottom, AxisLeft, Marks) that render D3 scales (scaleBand, scaleLinear) and ticks. Data is loaded asynchronously from a CSV using D3’s `csv` function and `useData` hook, while the y-axis labels use the band scale’s domain and bandwidth.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f7406f2460954943924f85cd4b6e879f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}