Activity 6_Question 1.2
✓ Published0🌍 Public
This bar chart displays the population of 20 countries in 2010, sorted along a categorical y-axis with a linear x-axis measured in billions. Built with React and D3 v5, the visualization uses `scaleBand` and `scaleLinear` to map data from a CSV file. SVG `<rect>` elements render the bars, with axes generated by custom `AxisBottom` and `AxisLeft` components. Tooltips reveal precise values via a `format` function replacing 'G' with 'B'. The chart is styled with a green mark fill and blue tick lines.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed