Skip to main content
100%

Fork of Task8_Q1.2

✓ Published1🌍 Public
Sshraehithareddy@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Task1.2_Activity6

This horizontal bar chart displays the populations of 20 countries in 2010, sorted by name along the y-axis with population magnitudes extending along the x-axis. Built with React and D3 v5, it uses `scaleBand` for the categorical axis and `scaleLinear` for the numeric domain, rendering SVG rectangles via the `Marks` component. The data loads from an external CSV using D3’s `csv` method, and axis ticks are formatted with `format('.2s')` to abbreviate large numbers, with tooltips showing exact values.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes