Skip to main content
100%

Fork of Making a Bar Chart

✓ Published0🌍 Public
EElouafi87
Last edited Jan 2, 2021
Created on Dec 31, 2020
Forked from Making a Bar Chart

D3.csv loads country population data (in thousands) to create a horizontal bar chart for the top ten most populous countries. D3 scaleBand positions country categories along the y-axis, while d3.scaleLinear maps population counts to bar widths on the x-axis. The chart renders as an SVG with axisBottom and axisLeft, using a custom tick formatter to abbreviate large numbers. No interaction is included; a static red border frames the visualization.

AI-generated description
MIT Licensed

Similar vizzes