Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar chart

Public visualization

Making a bar chart

0 stars1🌍 Public
Vvladvaculin
Last edited Aug 27, 2019
Created on Aug 27, 2019
Forked from FAAACE

A bar chart displays population figures for ten countries, with horizontal bars sorted by country name. The visualization loads data from a CSV file and renders it as SVG rectangles using D3 v5. It uses `d3.scaleLinear` for the population axis, `d3.scaleBand` for country categories, and `d3.axisLeft` and `d3.axisBottom` for labeled axes. Bar heights and widths derive from the dataset, with a steelblue fill applied via CSS.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed