Activity 7
✓ Published0🌍 Public
This bar chart, created with React and D3 v5, visualizes the populations of ten countries in 2010, using a horizontal layout where each bar’s length corresponds to the population value. The visualization loads data from a remote CSV file via `d3.csv`, scales the values with `d3.scaleLinear` and `d3.scaleBand`, and renders axes and bars as SVG elements. The `AxisBottom`, `AxisLeft`, and `Marks` components format ticks with `d3.format`, display population labels, and include tooltips that show the formatted population value.
AI-generated descriptionMIT Licensed