Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published1🌍 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 horizontal bars, with country names on the y-axis and population values on the x-axis. The chart is built using React and D3, leveraging `scaleBand`, `scaleLinear`, and `max` from d3.v5 to compute scales and domains from CSV data. SVG rectangles render the bars, with custom tick labels and gridlines drawn manually through JSX. Data is loaded asynchronously via `csv` from a GitHub gist URL.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed