Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
SSnapika
Last edited Mar 6, 2022
Created on Mar 6, 2022
This visualization is a horizontal bar chart showing the ten most populous countries, with a title above the chart. The chart uses SVG rendering within a React application, leveraging D3’s `scaleBand` for the categorical y-axis, `scaleLinear` for the continuous x-axis, and manual mapping of data to `rect` marks for each country. The code also uses D3’s `csv` loader to fetch population data from an external file, with axes constructed using `axisLeft` and `axisBottom`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed