Skip to main content
100%

Activity 6_task 1

✓ Published1🌍 Public
Ccharanshiva769@gmail.com
Last edited Oct 25, 2024
Created on Oct 22, 2024

This visualization displays the population of 30 countries in 2010 using a horizontal bar chart. The bars are rendered as SVG rectangles, with the x-axis representing population values and the y-axis listing country names. The chart uses D3 v5's `scaleBand` and `scaleLinear` functions to map data to coordinates, with React components for the axes and marks. Data is loaded from a CSV file using D3's `csv` function, and the x-axis labels are formatted using the `format` function to abbreviate large numbers.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes