{"version":"1.0","type":"rich","title":"Refactored bar chart","description":"This example shows a horizontal bar chart of the top 10 countries by population for 2020, with bars extending from a shared baseline and labeled axes. It is built as a React application that uses D3 v7’s `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. The chart is rendered as SVG, with axes and marks split into reusable components (`AxisBottom`, `AxisLeft`, `Marks`), and data is loaded asynchronously from a CSV via `d3.csv`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/126ba2f00bcf414080e8086aeb506028?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}