Skip to main content
100%

Let's make a face with D3.js

✓ Published0🌍 Public
Ppcbt1125
Last edited Nov 6, 2019
Created on Nov 6, 2019

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 description
MIT Licensed

Similar vizzes