Skip to main content
100%

Fork of Making A Bar Chart

✓ Published1🌍 Public
FFahad Bin Emran
Last edited May 2, 2023
Created on May 2, 2023
Forked from Making A Bar Chart

This example displays a horizontal bar chart of population figures for the ten most populous countries, with each bar’s length proportional to its population value. The visualization uses D3 v7’s `scaleLinear` and `scaleBand` to map the data, and renders the chart as SVG elements created with `selectAll` and `enter()`. Population values are loaded from a CSV file and multiplied by 1000, with axes generated using `axisLeft` and `axisBottom`.

AI-generated description
MIT Licensed

Similar vizzes