{"version":"1.0","type":"rich","title":"Fork of ICE-6: Rendering Marks and Channels (Bar Chart)","description":"This example visualizes the 2022 population data for three countries as a horizontal bar chart using React and D3 v5. The chart renders SVG rectangles sized by population values on a linear x-scale, with country names on a band y-scale and tick marks on both axes. Data loads from a CSV file via `d3.csv`, while `d3.scaleBand` and `d3.scaleLinear` position the bars. Gridlines are drawn as purple lines, and React’s `useState` and `useEffect` manage the asynchronous data fetching and state updates.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7017d5f5cbfe4a6d803aa122566f9401?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}