Skip to main content
100%

Activity6_task1

✓ Published0🌍 Public
Ssivachandraramanaidu.vnof52@gmail.com
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Activity6_task1

This example displays a horizontal bar chart of the top ten most populous countries in the year 2000, ranked by population. The chart, rendered as an SVG, uses D3 v5 to load CSV data from a remote gist and sorts it by the 2000 population field. The visualization consists of green bars drawn via `d3.selectAll('rect')` and `d3.scaleBand` for the categorical country axis, while a linear scale (`d3.scaleLinear`) maps population values to bar widths. Axis ticks are formatted with `d3.axisBottom` and `d3.format('.2s')` for compact notation.

AI-generated description
MIT Licensed

Similar vizzes