{"version":"1.0","type":"rich","title":"Fork of Refactored Bar chart with React & D3","description":"This example shows a horizontal bar chart of country populations for the year 2020, sourced from the UN Population 2019 dataset. Rendered as SVG via React components, it uses d3.scaleBand for the y-axis and d3.scaleLinear for the x-axis, with separate AxisBottom, AxisLeft, and Marks components. The code loads data asynchronously with d3.csv and slices the first ten entries, while the axes and bars are generated using React’s map function and JSX.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/a9baf87849cf413088d25dce85e3adce?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}