Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
LLuisEnrique-Naica
Last edited Dec 12, 2020
Created on Dec 11, 2020
Forked from HTML Starter

This bar chart displays population estimates for ten countries, with the United States, India, and China leading in size. Built with D3 v6, the visualization uses `scaleLinear` and `scaleBand` to map population values to bar widths and country names to vertical positions, respectively. The chart is rendered as SVG within an HTML page, with axes created using `axisLeft` and `axisBottom`. Data is loaded from a CSV file and formatted by multiplying population values by 1,000 before rendering.

AI-generated description
MIT Licensed

Similar vizzes