Skip to main content
100%

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

✓ Published0🌍 Public
Eeravellisaimeghana
Last edited Mar 8, 2022
Created on Mar 8, 2022

A horizontal bar chart displays the top 10 most populous countries, ranked by their 2019 population values. The chart fetches data from a CSV file hosted on GitHub, slices it to 10 entries, and renders the result as an SVG. The code uses React for component structure and state management, combined with D3 v5 APIs such as `scaleBand` and `scaleLinear` for axis scaling, and `csv` for data loading. Blue grid lines and axis ticks are generated from the linear scale, while country names appear along the y-axis.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes