🌍 Public
Fork of Hello VizHub
This bar chart displays the population in 2000 for the ten most populous countries, sorted in descending order. The visualization uses D3 v7 to load CSV data via `d3.csv` with `autoType`, and renders horizontal bars with `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis. The axes are drawn using `d3.axisLeft` and `d3.axisBottom`, with tick labels formatted using `d3.format('~s')`. The SVG output is styled with Poppins font and palegreen bars.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.