Fork of Fork of Fork of Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
TTharun2022
Last edited Mar 4, 2022
Created on Mar 4, 2022
This visualization displays a horizontal bar chart of the top 10 most populous countries in 2019, using React and D3 v5 to render SVG marks and channels. The code loads CSV data via `d3.csv`, scales the population values with `scaleLinear` and countries with `scaleBand`, and manually creates axes and gridlines. Each bar’s length encodes population, with tick labels generated from the scales. The chart uses React state and hooks to manage the asynchronous data loading.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed