{"version":"1.0","type":"rich","title":"Rendering Marks and Channels","description":"This example visualizes supermarket sales data by rendering a horizontal bar chart of product lines against their average ratings. The visualization uses React with D3 v5, loading data from a CSV file via d3.csv. It employs d3.scaleBand for the categorical y-axis, d3.scaleLinear for the numeric x-axis, and SVG rectangles as marks. The code renders axes manually with tick marks and gridlines, with margins configured to accommodate the long product line labels.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c498194f299245e8a3fede6ec62159ae?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}