🌍 Public
Viewing a saved revision (read-only)
64175ffac55e48ad89b6ebcaafa3b6d3
Fork of ICE-6: Rendering Marks and Channels with React & D3
A bar chart displays the goals scored by the nine most popular football players, with player names on the y-axis and a blue horizontal bar for each, scaled linearly by goal count. The visualization is built with React and D3, where D3's `scaleBand` and `scaleLinear` compute positions and widths, and React's `useState` and `useEffect` manage asynchronous loading of CSV data via `d3.csv`. Axis ticks and labels are rendered as SVG elements within a translated group.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.