Skip to main content
100%

Making a bar chart

✓ Published1🌍 Public
Zzakirkhan11
Last edited Sep 29, 2021
Created on Sep 29, 2021
Forked from D3 Starter

This example shows a bar chart built from country population data loaded from a CSV file. The chart uses D3 v7 to select a 960-by-500 SVG and append rectangles for each data entry, though it currently sets the same fixed width and height for every bar. The data values are converted from numbers to actual populations by multiplying by 1000 in the CSV loading callback. The rendering relies on d3.select and d3.csv, with styling defined in a separate CSS file.

AI-generated description
MIT Licensed

Similar vizzes