{"version":"1.0","type":"rich","title":"Activity6_Task1_Qus1","description":"This example displays a horizontal bar chart comparing the populations of ten countries in 2010. Using React with D3 v5, it loads CSV data from GitHub and renders SVG bar marks via the `Marks` component. The `scaleBand` and `scaleLinear` functions map country names and population values, while `AxisBottom` and `AxisLeft` generate the axes. The chart formats population tick labels using `format('.2s')` to replace G with B. A loading state shows \"Loading...\" until the CSV is fetched and processed.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/a369d87ef4ae478a9f72acf8e71fb1e1?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}