Skip to main content
100%

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

✓ Published0🌍 Public
Aaashrithd4
Last edited Mar 5, 2022
Created on Mar 5, 2022

This chart displays a horizontal bar chart of the top 10 most populous countries, using React to render an SVG and D3 v5 for data processing and scales. The React component uses `useEffect` to load a CSV file from a gist URL, then `scaleBand` and `scaleLinear` to map country names and population values to coordinates. Bars are drawn as `rect` elements, with axis ticks and labels generated via D3's `ticks` and `axis` utilities.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes