Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
OOla Skoczylas
Last edited May 6, 2020
Created on May 5, 2020
Forked from Hello HTML

A horizontal bar chart displays population data for ten countries, from China to Mexico, using a linear scale for population counts and a band scale for country names. The visualization includes axes generated with d3.axisLeft and d3.axisBottom, with margins applied to the SVG rendering. Data is loaded from a CSV file using d3.csv, and the population values are parsed and multiplied by 1,000 before being drawn as SVG rectangles with d3.scaleLinear and d3.scaleBand.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes