Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar chart!

Public visualization

Making a bar chart!

0 stars0🌍 Public
AArsenalRobert
Last edited Dec 27, 2019
Created on Dec 27, 2019

This bar chart displays the population of the top 10 most populous countries, scaled from raw CSV data. The visualization uses d3.csv to load the data, d3.scaleLinear for the x-axis population values, and d3.scaleBand for the categorical country names on the y-axis. Rectangles are appended to an SVG group, with axes generated via d3.axisLeft and d3.axisBottom. The chart is rendered entirely with SVG elements, and the styling comes from an external stylesheet.

AI-generated description

This bar chart shows the population of the top 10 most populus countries. Data comes from ....

Comments

Sign in to join the discussion.

MIT Licensed