{"version":"1.0","type":"rich","title":"assign 2.1","description":"This example renders a horizontal bar chart using React and SVG, with data mapped from countries to their numeric values. The chart uses `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with bars drawn as `rect` elements. The code imports `scaleLinear`, `scaleBand`, and `max` from D3, and the chart’s dimensions are controlled via `width`, `height`, and `margin` props. The visual output is a straightforward comparison of values across categories, without axes or labels.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/535ad4ff77f3434c8ee670b322482ff8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}