Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making bar chart

Public visualization

Making bar chart

0 stars1🌍 Public
HHassan Abdullah
Last edited Dec 4, 2021
Created on Dec 4, 2021

A horizontal bar chart displays the top ten countries by population, using the provided data.csv file. D3 v5 with SVG renders steel-blue bars and axes, employing `scaleLinear` and `scaleBand` for scales. The code imports `select`, `csv`, `max`, and axis functions from D3, customizes tick formatting via `format('.3s')`, and removes redundant axis lines for a cleaner presentation.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed