{"version":"1.0","type":"rich","title":"refactor bar chart","description":"This example visualizes the top 10 most populous countries as a horizontal bar chart, with country names on the y-axis and population values on the x-axis, rendered as SVG via React components. The chart uses `d3.scaleBand` and `d3.scaleLinear` to map data from the United Nations World Population Prospects 2019 dataset. Axis and mark components are split into separate React files, with `Marks.js` drawing rectangles and `AxisBottom` and `AxisLeft` adding ticks and labels, demonstrating a refactored modular architecture.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e0034b505c1d4d05bf48cbe15e2ab170?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}