Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
Pprajoth0405
Last edited Mar 6, 2022
Created on Mar 6, 2022
This bar chart displays the top 20 countries by population from a CSV dataset, using horizontal bars to encode population values along a linear scale. The visualization is built with React and D3 v5, where D3’s `scaleBand` and `scaleLinear` handle the axis scales, and React renders the SVG rects, axis ticks, and labels. Data is loaded asynchronously via `d3.csv` from a remote GitHub gist, and the chart includes blue gridlines and text annotations for readability.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed