{"version":"1.0","type":"rich","title":"ICE-6: Rendering Marks and Channels with React & D3","description":"This example visualizes the horsepower of ten cars from a CSV dataset as horizontal bars, using React components to render SVG marks and channels. The code employs `d3.csv` for data loading, `scaleBand` and `scaleLinear` for positioning, and manual axis construction with `xScale.ticks()`. React’s `useState` and `useEffect` manage asynchronous data fetching, while SVG `<rect>` elements encode values through width. D3’s `max` and `format` utilities support scaling, with axes drawn as custom React elements rather than D3 axis generators.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c41cc56965f54bb58cb4b75d9ab90ae4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}