Fork of Activity_6_tut-1
✓ Published0🌍 Public
This interactive bar chart displays the 2020 population estimates for 30 countries, ordered along the y-axis with population values on the x-axis. Built with React and D3 v5, the visualization uses SVG rendering and maps data from a CSV file loaded via D3's `csv` function. The chart employs `scaleBand` for the categorical country axis and `scaleLinear` for the population axis, with a custom tooltip showing abbreviated values via `d3.format`. The code defines reusable components for axes and marks, applying CSS styling to ticks and bars.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed