ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
This visualization shows the spending scores of customers across different professions using horizontal light-blue bars. It loads CSV data from a GitHub gist via `d3.csv` and renders the first 55 records as an SVG chart. The code combines React hooks (`useState`, `useEffect`) with D3 scales, including `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Axes are manually constructed using D3 tick values, while bars are drawn as SVG `<rect>` elements positioned and sized by the scales.
AI-generated descriptionICE-6 Submission by Shashidhar Kalapatapu Student ID: 11545863
MIT Licensed