Skip to main content
100%

Task_8_Q1.2

✓ Published0🌍 Public
DDipesh
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Task_8_Q1.1

A bar chart displays the population of 20 countries in 2010, sorted by country name along the y-axis and population magnitude along the x-axis. The chart uses React and D3 v5, with `scaleBand` and `scaleLinear` for ordinal and numeric axes, respectively. Data is loaded as CSV from a GitHub repository using `d3.csv`, and values are formatted with `d3.format`. Marks are rendered as SVG rectangles, with tooltips showing population values in a compact, abbreviated format. Axis ticks and labels are styled via custom React components.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes