Skip to main content
100%

Fork of Let's make a face with D3.js!

✓ Published0🌍 Public
Jjigarsoni0123
Last edited May 1, 2021
Created on May 1, 2021

This bar chart displays population data for several countries, loading values from a CSV file. The visualization uses D3.js (v5) to map population to bar width on a linear scale, while country names are positioned on a band scale. Data is loaded asynchronously with `d3.csv`, and bars are appended as SVG `<rect>` elements through a data join with `selectAll` and `enter()`. The chart updates dynamically based on the parsed numeric population values.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes