{"version":"1.0","type":"rich","title":"ICE-6: Rendering Marks and channels with Rect & D3","description":"This example visualizes the top 10 profit countries using a horizontal bar chart rendered as SVG in a React application. It displays country names on the y-axis and profit sales on the x-axis, with blue tick lines and axis labels. The code loads data from a CSV file using `d3.csv`, then uses `d3.scaleBand` and `d3.scaleLinear` to map values to `rect` marks. React manages the state and rendering, while D3 v7 handles data parsing and scales, with axes and bars drawn manually.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6d3b8209dfc344c9bcbf01d3295b9792?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}