{"version":"1.0","type":"rich","title":"Fork of ICE-6: Rendering Marks and Channels with React & D3","description":"This example visualizes the top 10 soap products by their 2008 population values using a horizontal bar chart rendered as SVG. The chart employs React’s `useState` and `useEffect` hooks to asynchronously fetch CSV data from a GitHub URL, then maps each product to a rectangle whose width is proportional to its population via `d3.scaleLinear` and `d3.scaleBand`. Axes ticks are generated with `xScale.ticks()`, and the layout uses explicit margins and dimensions. The code demonstrates manual rendering of marks and channels with React components and D3 scales.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9e76a39150954053b1aa96962355631d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}