{"version":"1.0","type":"rich","title":"Fork of ICE-6: Rendering Marks and Channels with React & D3","description":"This visualization displays the top 20 countries by COVID-19 case counts using a horizontal bar chart rendered as SVG marks within a React component. The code uses React’s `useState` and `useEffect` hooks to load and parse CSV data via `d3.csv`, with `scaleBand` and `scaleLinear` mapping country names and case numbers to pixel positions. Axis ticks and gridlines are generated manually by iterating over `xScale.ticks()` and the band domain, while each bar’s width derives from the numeric value. The example demonstrates combining D3’s scales and data loading with React’s declarative element creation.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7a0d150449b84f44b24384c8bd4f1ac9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}