{"version":"1.0","type":"rich","title":"Rendering Marks and Channels with React & D3","description":"This example shows the top 10 films by category and sales from a Superstore dataset, rendered as a horizontal bar chart using React and D3. It loads CSV data from a GitHub gist and maps sales values to bar widths via `d3.scaleLinear`, with categories positioned by `d3.scaleBand`. The SVG output marks axes with `scaleBand.ticks` and renders each bar as a `rect` element created through React components. The chart updates dynamically when the data loads, demonstrating a hybrid approach where React manages the DOM while D3 handles scales and data parsing.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c0ffef266cfe4c60b83e960e5b3303fb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}