Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bars

Public visualization

Bars

0 stars2🌍 Public
Jjoanoliper
Last edited Sep 19, 2019
Created on Sep 19, 2019

This bar chart displays population counts for six countries, with horizontal bars sorted by the data’s order rather than by value. The visualization uses D3 v5’s `scaleLinear` for the x-axis, `scaleBand` for the y-axis categories, and `axisLeft`/`axisBottom` for ticks. Data loads from a CSV via `d3.csv`, with numeric population values parsed before rendering as SVG rectangles. The chart’s styling applies a steelblue fill to each bar.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed