Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
Mmanvithareddykarra
Last edited Mar 6, 2022
Created on Mar 6, 2022
This interactive bar chart displays the top 10 most profitable countries from a sample sales record dataset. The visualization uses React with D3.js v5 to render SVG marks and channels, with the chart loading data from a GitHub-hosted CSV file. Rects encode profit values through their width along a linear scale, while country names are positioned on a band scale. The implementation leverages React's state management and useEffect for data fetching, alongside D3's scaleBand, scaleLinear, and csv parsing utilities.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed