🌍 Public
Viewing a saved revision (read-only)
0164494db24f46cdbf26440714ccd613
Population Density Bar Chart
This bar chart visualizes population density data for the first five countries in a CSV dataset. The chart uses steel-blue bars that turn orange on hover, with rotated country labels on the x-axis. Built with D3.js v7, the code fetches CSV data from a GitHub repository, parses it with `d3.csvParse`, and renders SVG rectangles scaled by population using `d3.scaleBand` and `d3.scaleLinear`.
AI-generated description