Skip to main content
100%

Task 1

• Draft1🔗 Unlisted
Vvinishreddy.kamireddy@gmail.com
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from Hello VizHub

This chart displays the population of 30 countries in 2020 as a horizontal bar chart. The visualization loads data from a CSV file using the D3 `csv` function and renders the chart with SVG elements. It uses D3’s `scaleBand` and `scaleLinear` for axis scaling, and React components for the axes and marks, with the bar lengths proportional to population values. The x-axis labels are formatted using D3’s `format` function to abbreviate large numbers, and tooltips show the formatted value on hover.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes