Activity6_Tutorial_1
✓ Published0🌍 Public
A horizontal bar chart displays population figures for the top 30 countries in 2020, sourced from a CSV hosted on GitHub. The chart encodes population on a linear x-axis and country names on a categorical y-axis using colored bars. The visualization is built with D3 v7, using `d3.scaleLinear`, `d3.scaleBand`, and SVG rendering. Axis labels are added manually; the x-axis uses a custom tick format to display large numbers in billions. The rendering pipeline fetches data via `d3.csv`, selects the top 30 rows, and draws the marks with `Marks.js`.
AI-generated descriptionMIT Licensed