Skip to main content
100%

bar chart practice

✓ Published0🌍 Public
GGeorge2916
Last edited Apr 21, 2021
Created on Apr 20, 2021

This bar chart displays population counts for several countries from a CSV file, with each country represented as a horizontal bar. It uses D3 v5’s `scaleLinear` for the x-axis population values and `scaleBand` for the y-axis country categories. The SVG rectangles are appended via data joins, and the chart demonstrates fundamental DOM manipulation with `select`, `csv`, `scaleLinear`, `max`, and `scaleBand`.

AI-generated description

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

MIT Licensed

Similar vizzes