Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars0🌍 Public
Bbyiringirodalio
Last edited Mar 31, 2021
Created on Mar 31, 2021

This fork of “Let's make a face with D3.js!” demonstrates fundamental DOM manipulation by rendering a static smiley face with movable eyebrows. The example loads a CSV file containing country population data, parsing and scaling the population values by 1000 using the `d3.csv` method. The visualization uses D3 v5 to select an SVG element and bind data, though the face itself is constructed with basic SVG shapes rather than data-driven elements. The code highlights asynchronous data loading and console logging before any visual update occurs.

AI-generated description

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

<!-- <iframe width="560" height="315" src="https://www.youtube.com/embed/-RQWC4I2I1s?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> -->

Comments

Sign in to join the discussion.

MIT Licensed