Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published1🌍 Public
99176371431
Last edited Mar 9, 2023
Created on Mar 9, 2023
This visualization displays the top 20 countries by total COVID-19 deaths using horizontal red bars. It renders SVG marks with React state management, while D3 v5 scales (scaleBand, scaleLinear) and axes are computed in the render method. Data loads from a CSV via d3.csv, and the bars’ positions and lengths map country names and death counts through React’s useCallback and useEffect hooks.
AI-generated descriptionReact Starter code.
MIT Licensed