🌍 Public
Viewing a saved revision (read-only)
044a961a84664b198dcf930d38003ad1
activity 6_Task 1
This example presents a horizontal bar chart visualizing the population of 30 countries for the year 2020. It uses D3 v7 with an SVG rendering approach, employing `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis. The data is loaded asynchronously from a CSV file using `d3.csv` and rendered with custom `Marks`, `AxisBottom`, and `AxisLeft` components, which utilize `d3.axisBottom` and `d3.axisLeft` for tick generation.
AI-generated description