Skip to main content
100%

Tutorial 1

✓ Published1🌍 Public
Pperamranji
Last edited Mar 30, 2025
Created on Mar 30, 2025

A horizontal bar chart displays the top ten countries by population in the year 2000, sourced from a local CSV file. Bars are rendered as SVG rectangles using D3 v7’s scaleBand for the categorical country axis and a linear scale for population values. The chart includes formatted axis ticks via d3.axisBottom with a .2s format, a left axis, and a centered axis label. Data is loaded asynchronously with d3.csv and processed in a useData function.

AI-generated description
MIT Licensed

Similar vizzes