Fork of Axes with React & D3
✓ Published0🌍 Public
This example renders the top 10 most populous countries as a horizontal bar chart using React and D3 v5. The bars and manually constructed axes are drawn as SVG elements inside a React component, with scales created via `d3.scaleBand` and `d3.scaleLinear`. Tick marks and labels are generated by iterating over the scales' domains, and the data comes from the United Nations World Population Prospects 2019 CSV. The chart displays population values for 2020, with no axes library used, only custom rendering.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed