Skip to main content
100%

Let's make a face with D3.js!

✓ Published0🌍 Public
Mmdfmk
Last edited Feb 22, 2020
Created on Feb 22, 2020

This example demonstrates a horizontal bar chart of country populations using D3.js v5, with SVG rendering. The chart displays population data from a CSV file, where each country’s bar width is scaled by population using `d3.scaleLinear`, and the y-axis positions are set via `d3.scaleBand`. It loads data asynchronously with `d3.csv` and appends rectangles to the SVG. The accompanying README includes a linked YouTube tutorial, referencing “Let's make a face!” as the project’s playful title.

AI-generated description

Making a bar chart

MIT Licensed

Similar vizzes