{"version":"1.0","type":"rich","title":"Refactored Bar Chart","description":"This example displays a horizontal bar chart showing the 2020 population for ten countries listed in a UN dataset. The chart loads CSV data using the d3 `csv` utility and renders React SVG components for the plot. D3's `scaleBand` and `scaleLinear` are used for the y- and x-axes, respectively, while custom React components (`AxisBottom`, `AxisLeft`, `Marks`) generate the tick marks, labels, and rectangular bars. The visualization is drawn with SVG inside a React application, with the chart area offset by margins defined in the container.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d8da9297bfa6494195f39984ef9aced9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}