Skip to main content
100%

Lets make a face!

✓ Published1🌍 Public
Bbcwein
Last edited Mar 29, 2020
Created on Mar 29, 2020
Forked from Lets make a face!

This example shows a horizontal bar chart of population data for ten countries, encoded as SVG rectangles scaled by each country’s population value. The code loads data from `data.csv` and builds the visualization using D3 v5 APIs, including `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. The bars are appended to a translated `<g>` element, with the y-axis labeling countries and the x-axis scaled to the maximum population.

AI-generated description
MIT Licensed

Similar vizzes