{"version":"1.0","type":"rich","title":"ICE-6 : Rendering Marks and Channels with react and D3","description":"This example displays a bar chart of student scores from a CSV file, using React to manage state and D3 to render SVG marks. The horizontal bars encode each student's amount through length, with categorical names on the y-axis and a linear scale for values on the x-axis. The code uses `d3.csv`, `scaleBand`, and `scaleLinear`, along with `axisLeft` and `axisBottom` for ticks. React’s `useState` and `useEffect` load and transform the data, while `ReactDOM.render` mounts the visualization.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f0486444ccc8460c97c10eb94930339f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}