Skip to main content
100%

Let's make a face with D3.js!

✓ Published0🌍 Public
Lliuleirain
Last edited Nov 23, 2020
Created on Nov 21, 2020

This example builds a simple bar chart from a CSV of country populations, rendering each row as a 300-by-300 pixel SVG rectangle. The code uses D3’s `select` and `csv` modules, parsing the population column and multiplying it by 1000 before appending the rectangles to the SVG element. The chart demonstrates basic D3 v6 data loading, attribute setting, and SVG rendering without axes or labels.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes