{"version":"1.0","type":"rich","title":"Refactor Bar Chart","description":"This example displays the populations of 20 countries using a horizontal bar chart rendered with React and SVG. The code creates scales with `scaleBand` for countries and `scaleLinear` for population values, and defines custom `AxisBottom` and `AxisLeft` components for ticks. Bars are generated with a separate `BarChart` component, and CSV data is loaded and parsed via `d3.csv` from the UN Population 2019 dataset.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/14b534ffba5e4c21a2383252e89e40fa?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}