Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
JJMason88
Last edited Jun 4, 2019
Created on Jun 4, 2019
Forked from Making a Bar Chart

This horizontal bar chart displays the population of the ten most populous countries, with bars representing each nation’s total population. It uses D3 v5’s `scaleLinear` and `scaleBand` to map population values to bar widths and country names to vertical positions, while `axisLeft` and `axisBottom` render the axes. The chart reads from a CSV file, reformats tick labels using `format`, and renders as SVG with steel-blue bars and custom margin-based layout.

AI-generated description

Customizing Axes

MIT Licensed

Similar vizzes