Let's make a face with D3.js
✓ Published0🌍 Public
This example shows a horizontal bar chart of population data for ten countries, using D3.js v5 with SVG rendering. The chart displays population values on the x-axis and country names on the y-axis, with steel-blue bars sized proportionally. The code uses `d3.csv` to load the data, `scaleLinear` and `scaleBand` for scaling, and `axisLeft` and `axisBottom` for axes. The dataset is drawn from the included CSV file, with population values multiplied by 1000.
AI-generated descriptionMIT Licensed