Skip to main content
100%

Fork of activity6_Task1q2

✓ Published0🌍 Public
Ssudheervnarasimha1@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from activity6_Task1

This interactive bar chart displays the population of 20 countries in 2010, with each country listed on the vertical axis and its population shown as a horizontal bar length. The visualization is built using React and D3 version 5, leveraging `scaleBand`, `scaleLinear`, and the `csv` loader to fetch data from a GitHub URL. SVG rectangles represent the bars, with tooltips formatted using D3's `format` function to abbreviate large numbers (e.g., '1.2B'). Axis components are custom React elements, and the chart is rendered entirely as SVG within a React component.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes