Skip to main content
100%

Fork of Fork of Fork of Fork of ICE-6: Rendering Marks and Channels with React & D3

✓ Published0🌍 Public

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes