d3 Bar Chart
✓ Published1🌍 Public
This example renders a horizontal bar chart of population data for the ten most populous countries, sourced from a CSV file. Built with D3.js v5.7.0, it uses `scaleLinear` for the numeric x-axis and `scaleBand` for the categorical y-axis, drawing steel-blue `rect` elements within an SVG canvas. The chart displays axes via `axisLeft` and `axisBottom`, and populates bars by joining data to SVG groups.
AI-generated descriptionThis is a work through example of a d3 bar-chart from Curran Kelleher published on Youtube: [Making a Bar Chart with D3.js and SVG] (https://www.youtube.com/watch?v=NlBt-7PuaLk&index=7&list=PL9yYRbwpkykvOXrZumtZWbuaXWHvjD8gi)
MIT Licensed