Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lets make a face

Public visualization

Viewing a saved revision (read-only)

243a47234d17417698d87beba7fe9b24

Lets make a face

0 stars0🌍 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.