Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Bar Chart

0 stars0🌍 Public
DDanteStack
Last edited Sep 27, 2019
Created on Sep 27, 2019

This bar chart displays population figures for the ten most populous countries, using horizontal bars ordered by country name. The visualization loads data from a CSV file and renders an SVG with D3 v5, employing `d3.scaleLinear` for the x-axis population values and `d3.scaleBand` for the y-axis country categories. Axes are generated with `d3.axisLeft` and `d3.axisBottom`, while the bars themselves are appended as SVG rectangles with a steelblue fill.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed