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

This bar chart shows the top 10 most populous countries in 2019, with each bar's length proportional to the country's population. The visualization is rendered as an SVG using React and D3 v5, with D3's `scaleBand` and `scaleLinear` functions mapping country names and population values to screen coordinates. The chart includes labeled axes for population counts and country names. Data is loaded asynchronously from a CSV file using D3's `csv` function, and the top 10 rows are displayed after sorting.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes