Skip to main content
100%

Hello D3 Version 6

✓ Published0🌍 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
MIT Licensed

Similar vizzes