{"version":"1.0","type":"rich","title":"ICE-6: Rendering Marks and Channels with React & D3","description":"This example uses React and D3 v5 to render a horizontal bar chart of basic costs for 15 countries from a CSV dataset. It shows categorical marks as SVG rectangles positioned by a D3 `scaleBand` and `scaleLinear`, with axes drawn manually using gridlines and tick labels. The code imports D3 functions like `csv`, `scaleBand`, `scaleLinear`, and `max` within a React component, using hooks such as `useState` and `useEffect` to load data. All marks and channels are rendered declaratively as SVG elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ec3dcfd4a5554ee09b196e3abd844f94?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}