Skip to main content
100%

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

✓ Published0🌍 Public
Ssudhamshu24
Last edited Mar 7, 2022
Created on Mar 7, 2022

This visualization displays a horizontal bar chart comparing the population of the top 10 countries from a CSV file hosted on GitHub. It uses React for component structure and state management, with D3 (v5) for the scales and axes. The SVG rendering maps each country's population to a bar’s width using `d3.scaleLinear`, while `d3.scaleBand` positions the categorical labels along the y-axis. The chart includes blue x-axis gridlines and labeled ticks, presenting a clean, static comparison of the selected data.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes