{"version":"1.0","type":"rich","title":"Bar with axis","description":"This example displays the top 10 most populous countries in 2020 as a horizontal bar chart, with country names on the y-axis and population values on the x-axis. Using React hooks to manage data loading, it fetches CSV data via D3’s `csv` utility and renders SVG bars with `rect` elements. D3’s `scaleBand` and `scaleLinear` position the bars, while custom tick marks and labels are generated from `xScale.ticks()` and the y-scale domain, all within a React component tree.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/bef7434de48047c08ec65e01d34024ec?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}