Skip to main content
100%

Fork of Smiley face part 1

✓ Published0🌍 Public
Bbyiringirodalio
Last edited Apr 9, 2021
Created on Apr 4, 2021
Forked from Smiley face part 1

This visualization displays the populations of ten countries as horizontal bars, scaled proportionally to their population values. The chart uses D3's `scaleLinear` to map population data from a CSV file to pixel widths, with each bar's length representing its country's total population. The React-based rendering appends SVG `rect` elements to the canvas, and the data is preprocessed by multiplying the population values by 1000 before scaling.

AI-generated description

Half way towards a smiley face. Smiley mark down (MD).

MIT Licensed

Similar vizzes