🌍 Public
Fork of Making a Barchart
This horizontal bar chart ranks the populations of the ten most populous countries, using D3’s `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis. The SVG render loads data from `data.csv`, multiplies each population value by 1000, and draws steelblue rectangles via D3’s `selectAll` and `enter`. Axis ticks are generated with `axisLeft` and `axisBottom`.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed
Comments
Sign in to join the discussion.