🌍 Public
Viewing a saved revision (read-only)
f05eb6690afa4df2818b06ff70897225
Fork of ICE-6: Rendering Marks and Channels with React & D3
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.