Skip to main content
100%

activity 6_Task 1.1

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

This example shows a horizontal bar chart of the top ten most populous countries or regions, comparing their populations in the year 2000. Built with React and D3 v5, it renders an SVG with styled tick marks, axes, and bars. The code uses `scaleBand` and `scaleLinear` from D3 to map data to coordinates, and a custom `Marks` component creates the rectangles, with tooltips formatted via D3’s `format` function. Data is loaded from a CSV file using D3’s `csv` loader.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes