Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars0🌍 Public
Ggayathri
Last edited Mar 6, 2022
Created on Mar 6, 2022

A horizontal bar chart displays the top 10 most populous countries for 2019, with country names on the y-axis and population counts on the x-axis. The React component loads CSV data via `d3.csv`, then renders SVG marks using `scaleBand` and `scaleLinear` for positioning. Tick marks and axis labels are generated manually from the scales, while bars are drawn as `<rect>` elements with widths proportional to population values.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed