{"version":"1.0","type":"rich","title":"ICE-6: Rendering Marks and Channels with React & D3","description":"This visualization displays the size of OTT libraries across 20 countries using a horizontal bar chart. The code leverages React’s `useState` and `useEffect` hooks to fetch CSV data via `d3.csv`, then renders SVG marks with `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis. Blue tick lines and text labels are manually generated from `xScale.ticks()`, while bars are drawn as `rect` elements. The chart sources its data from a gist CSV file containing GDP and library-size metrics.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e0e826f54b8e4ecc99c0135a0d5eb1b7?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}