Making a BarChart
✓ Published1🌍 Public
The bar chart ranks the ten most populous countries using 2018 estimates from the data.csv file, with population values multiplied by 1000. Built with D3 v5, it renders SVG rectangles using `scaleLinear` for the x-axis, `scaleBand` for y-axis categories, and `axisBottom`/`axisLeft` for tick marks. Margins offset the chart, while the `enter()` selection appends styled `rect` elements with steelblue fills.
AI-generated descriptionPopulation from the year 2018 estimate.
MIT Licensed