Skip to main content
100%

Task8-q1b

✓ Published0🌍 Public
Rreddyswethuvahana@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity 7

This example displays a horizontal bar chart of 2010 population estimates for twenty countries, ranked by value. The visualization uses React to render SVG elements via D3 scales, with `d3.scaleBand` for country categories and `d3.scaleLinear` for population counts. Axis components show tick marks and labels, while the `Marks` component draws each bar as a `rect`. Data is loaded asynchronously from a CSV file using `d3.csv`, with values converted from thousands before rendering.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes