{"version":"1.0","type":"rich","title":"refactored bar chart","description":"This example shows population data for ten countries as a horizontal bar chart. React components render the SVG, while D3 scales and axes handle positioning: `scaleBand` maps country names to vertical bands, and `scaleLinear` maps population values to bar widths. The chart uses data from the UN Population 2019 dataset loaded via `d3.csv`, with custom `AxisBottom`, `AxisLeft`, and `Marks` components.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/5905c9396a0e4ec7b2a17079ec506a90?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}