Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hello D3 Version 6

Public visualization

Hello D3 Version 6

0 stars0🌍 Public
Lliyaxuanliyaxuan
Last edited Nov 24, 2020
Created on Nov 23, 2020
Forked from Hello D3 Version 6

A horizontal bar chart displays population values for five countries from a CSV file, using D3 v6's `select`, `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. Steelblue rectangles encode each country's population, with x-axis tick labels formatted via `format('s')`. The chart includes a manually positioned "population" label and removes default axis lines and ticks. Data is loaded asynchronously and converted to numbers before rendering into SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed