Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q1.1

Public visualization

Q1.1

0 stars1🌍 Public
Rragasrikakarla27@gmail.com
Last edited Oct 30, 2025
Created on Oct 30, 2025
Forked from HTML Starter

A horizontal bar chart compares the year-2000 populations of ten countries, using data from Activity6_Population.csv. The chart uses D3 v7 to load and parse the CSV, filtering rows for the year 2000. A `d3.scaleLinear` maps population values to the x-axis, while a `d3.scaleBand` positions the categorical country labels on the y-axis. Rectangles are appended and sized based on the scaled population values, with axis labels and tick formatting applied via `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed