Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

c937649883b94e50a954f7c012426b56

Making a Bar Chart

0 stars0🌍 Public
NNicole Kan
Last edited Jun 9, 2020
Created on Jun 9, 2020
Forked from HTML Starter

A horizontal bar chart displays population counts for ten countries, with bars sorted by value from largest to smallest. The visualization uses D3 v5’s `scaleLinear` for the x-axis, `scaleBand` for categorical y-axis spacing, and `axisLeft`/`axisBottom` for tick marks. Data loads from a CSV file via `d3.csv`, with population values multiplied by 1000. SVG rendering positions rectangles with attributes set from the scales.

AI-generated description