Skip to main content
100%

Lets make a face

✓ Published0🌍 Public
AAchrafHNAKA911
Last edited Jun 26, 2022
Created on Jun 25, 2022

This visualization demonstrates how to construct a face-like figure using basic SVG shapes, populated with data from a CSV file containing country population figures. The code uses d3.csv to load the data, parses population values, and then appends rectangles to the SVG canvas via d3’s selection and data join methods. The example highlights the use of SVG attributes and D3 v5’s selection API to bind data to visual elements, with a simple stylesheet removing page margins for a full-viewport display.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes