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
BBajiSharifPatan@my.unt.edu
Last edited Mar 6, 2022
Created on Mar 6, 2022

This visualization displays the top 10 most populous countries in 2019 as a horizontal bar chart, retrieved from a CSV dataset. Using React for component structure and D3 v5 for data processing and scales, it renders SVG marks for the bars with axes and labels. The code employs `d3.csv` for loading data, `d3.scaleBand` and `d3.scaleLinear` for positioning, and maps data to rectangles within an SVG group.

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