Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

289ec9e47f614d23a7116511b6cb9f03

Making a Bar Chart

0 stars0🌍 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