Skip to main content
100%

Did on my own(bar graph)

✓ Published1🌍 Public
LLonwabo11
Last edited May 6, 2019
Created on May 6, 2019
Forked from Scatter plot

This bar chart displays population estimates for ten countries, using horizontal bars sorted by country name. The visualization loads data from a CSV file and renders it as SVG rectangles. The code uses D3 v5 functions including `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to map population values to bar widths and country names to vertical positions. Population numbers are multiplied by 1000 during data preprocessing to match the source values.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes