🌍 Public
Viewing a saved revision (read-only)
4482298898cb43acb198efaf4aeec263
Fork of ICE-6: Rendering Marks and Channels with React & D3
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.